Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 189.2 kB / 16.78 MB, free: 6.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 222.6 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4262/0.4262, allocations: 43.49 MB / 313.5 MB, free: 8.438 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1587, allocations: 57.78 MB / 439.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004029/0.1628, allocations: 2.149 MB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.1652, allocations: 1.329 MB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.1653, allocations: 7.938 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.971e-05/0.1654, allocations: 11.86 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.1655, allocations: 23.78 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.166, allocations: 147.5 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1662, allocations: 172.1 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.1665, allocations: 107.6 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1667, allocations: 63.66 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1668, allocations: 91.53 kB / 443.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.1668, allocations: 12 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.1672, allocations: 143.9 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.1672, allocations: 43.8 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1673, allocations: 91.45 kB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.1678, allocations: 299.3 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1678, allocations: 0 / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1678, allocations: 0 / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1678, allocations: 0 / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007555/0.1685, allocations: 0.5188 MB / 445 MB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1686, allocations: 12.03 kB / 445 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009697/0.1696, allocations: 68.61 kB / 445.1 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1698, allocations: 184.1 kB / 445.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.1698, allocations: 20.94 kB / 445.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.1699, allocations: 24.38 kB / 445.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.1703, allocations: 205.2 kB / 445.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1703, allocations: 0 / 445.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.1703, allocations: 8 kB / 445.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1703, allocations: 12 kB / 445.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.1706, allocations: 150.1 kB / 445.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1716, allocations: 0.6005 MB / 446.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.1722, allocations: 223.4 kB / 446.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1723, allocations: 73.3 kB / 446.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1724, allocations: 8.172 kB / 446.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1724, allocations: 34.8 kB / 446.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/0.1724, allocations: 0 / 446.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004706/0.1729, allocations: 218.4 kB / 446.8 MB, free: 7.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1729, allocations: 55.41 kB / 446.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.173, allocations: 113.8 kB / 447 MB, free: 7.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1731, allocations: 29.7 kB / 447 MB, free: 7.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.1731, allocations: 128.5 kB / 447.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.1732, allocations: 94.64 kB / 447.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.1733, allocations: 41.7 kB / 447.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1734, allocations: 318.8 kB / 447.6 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.1735, allocations: 43.97 kB / 447.6 MB, free: 6.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.1736, allocations: 44.84 kB / 447.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.1739, allocations: 129.2 kB / 447.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1739, allocations: 0 / 447.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002786/0.1742, allocations: 169.4 kB / 448 MB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1742, allocations: 8 kB / 448 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1742, allocations: 0 / 448 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1742, allocations: 0 / 448 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.1746, allocations: 103.9 kB / 448.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1746, allocations: 0 / 448.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.1747, allocations: 15.84 kB / 448.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.1747, allocations: 15.98 kB / 448.1 MB, free: 6.344 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.1748, allocations: 117.8 kB / 448.2 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.1749, allocations: 19.84 kB / 448.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.1749, allocations: 21.12 kB / 448.2 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.175, allocations: 4 kB / 448.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.175, allocations: 4 kB / 448.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.175, allocations: 0 / 448.3 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.1753, allocations: 265.4 kB / 448.5 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1753, allocations: 3.938 kB / 448.5 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.1757, allocations: 99.88 kB / 448.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1757, allocations: 0 / 448.6 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1757, allocations: 11.98 kB / 448.6 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1757, allocations: 4 kB / 448.6 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1757, allocations: 0 / 448.6 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.1761, allocations: 279.5 kB / 448.9 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1761, allocations: 92.89 kB / 449 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1762, allocations: 4 kB / 449 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.1763, allocations: 8 kB / 449 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.1763, allocations: 15.97 kB / 449 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1763, allocations: 12.25 kB / 449 MB, free: 5.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.391e-05/0.1764, allocations: 83.28 kB / 449.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1764, allocations: 0 / 449.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1767, allocations: 51.78 kB / 449.2 MB, free: 5.172 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.1768, allocations: 107.1 kB / 449.3 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.1771, allocations: 131.9 kB / 449.4 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1771, allocations: 0 / 449.4 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1773, allocations: 79.91 kB / 449.5 MB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.1775, allocations: 19.88 kB / 449.5 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007937/0.1783, allocations: 0.5519 MB / 450.1 MB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1787, allocations: 0.7283 MB / 450.8 MB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.1788, allocations: 17.36 kB / 450.8 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.1789, allocations: 19.38 kB / 450.8 MB, free: 3.457 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1789, allocations: 4 kB / 450.8 MB, free: 3.453 MB / 382.1 MB Notification: Performance of Templates: time 0.003191/0.1821, allocations: 0.8596 MB / 451.7 MB, free: 2.594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches