Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009796/0.0009796, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001222, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.18 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003086, allocations: 4.219 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 63.57 MB / 482.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001005/0.1431, allocations: 201.2 kB / 482.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.146, allocations: 1.212 MB / 483.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.146, allocations: 0 / 483.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.1461, allocations: 0 / 483.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.327e-06/0.1461, allocations: 0 / 483.8 MB, free: 3.152 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:4:3-219:14:writable] Warning: Pure function ‘ModelicaTest.Utilities.Strings‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1479, allocations: 454.9 kB / 484.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.317e-05/0.148, allocations: 4 kB / 484.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.148, allocations: 0 / 484.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.148, allocations: 0 / 484.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.983e-05/0.1481, allocations: 4 kB / 484.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-06/0.1481, allocations: 0 / 484.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.1516, allocations: 1.877 MB / 486.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.1516, allocations: 0 / 486.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.1516, allocations: 29.64 kB / 486.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1519, allocations: 119.8 kB / 486.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.1519, allocations: 4 kB / 486.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1519, allocations: 0 / 486.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1519, allocations: 0 / 486.3 MB, free: 0.6641 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003969/0.1523, allocations: 373.1 kB / 486.7 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1524, allocations: 8.031 kB / 486.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1524, allocations: 4 kB / 486.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1526, allocations: 159.1 kB / 486.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1526, allocations: 4 kB / 486.8 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1526, allocations: 4 kB / 486.8 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.1527, allocations: 33.64 kB / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1527, allocations: 0 / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1527, allocations: 0 / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1527, allocations: 0 / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.1528, allocations: 4 kB / 486.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1529, allocations: 149.6 kB / 487 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.153, allocations: 22.61 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.153, allocations: 12.78 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.153, allocations: 0 / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/0.1531, allocations: 60.2 kB / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1531, allocations: 0 / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001815/0.1533, allocations: 67.48 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.1534, allocations: 89.09 kB / 487.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.799e-05/0.1534, allocations: 93.86 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1534, allocations: 25.7 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.1535, allocations: 80.14 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.1535, allocations: 0 / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.1535, allocations: 0 / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1536, allocations: 310.8 kB / 487.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.1536, allocations: 0 / 487.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.1537, allocations: 8 kB / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.1537, allocations: 25.7 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1537, allocations: 0 / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.195e-05/0.1538, allocations: 67.39 kB / 487.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.1538, allocations: 29.7 kB / 487.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1538, allocations: 3.938 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1539, allocations: 0 / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.1539, allocations: 7.953 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1539, allocations: 0 / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.1539, allocations: 96 / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1539, allocations: 4 kB / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.793e-05/0.154, allocations: 139.5 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.154, allocations: 0 / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.04e-05/0.154, allocations: 7.109 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1541, allocations: 0 / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1541, allocations: 3.953 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1541, allocations: 0 / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1542, allocations: 145.7 kB / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1542, allocations: 0 / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.1542, allocations: 4 kB / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1542, allocations: 0 / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1542, allocations: 7.984 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1542, allocations: 0 / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1542, allocations: 3.984 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.405e-05/0.1543, allocations: 94.73 kB / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.1544, allocations: 85.03 kB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1544, allocations: 4.031 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.038e-05/0.1544, allocations: 4 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.1544, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1545, allocations: 7.938 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.516e-05/0.1545, allocations: 75.28 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1545, allocations: 0 / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.1548, allocations: 75.94 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008753/0.1557, allocations: 398.1 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.1558, allocations: 55.41 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1558, allocations: 0 / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.1559, allocations: 55.41 kB / 489 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.156, allocations: 7.984 kB / 489 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.1562, allocations: 86.67 kB / 489.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1565, allocations: 0.6692 MB / 489.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.673e-06/0.1565, allocations: 0 / 489.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.1565, allocations: 11.44 kB / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1565, allocations: 0 / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of Templates: time 0.005102/0.1616, allocations: 1.93 MB / 491.7 MB, free: 10.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches