Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.8 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 44.17 MB / 336.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.81 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1541, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00359/0.1577, allocations: 2.145 MB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1598, allocations: 1.328 MB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.1599, allocations: 4 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.916e-05/0.16, allocations: 11.86 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1601, allocations: 15.84 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.1605, allocations: 159.5 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1608, allocations: 172.1 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.161, allocations: 95.58 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1612, allocations: 75.64 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1613, allocations: 87.55 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.1614, allocations: 12 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.1617, allocations: 151.9 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.1617, allocations: 35.84 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.1618, allocations: 91.47 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.1623, allocations: 295.3 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1623, allocations: 0 / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1623, allocations: 0 / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1623, allocations: 0 / 473.2 MB, free: 10.16 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007504/0.1631, allocations: 0.5188 MB / 473.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1631, allocations: 8.031 kB / 473.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009068/0.164, allocations: 72.61 kB / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1642, allocations: 180.1 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1642, allocations: 24.88 kB / 474 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.1643, allocations: 24.38 kB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.1647, allocations: 209.2 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1647, allocations: 3.938 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.1647, allocations: 8 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1648, allocations: 12 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1651, allocations: 142.2 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.166, allocations: 0.5928 MB / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.1666, allocations: 231.4 kB / 475.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1667, allocations: 65.3 kB / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1668, allocations: 8.172 kB / 475.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1668, allocations: 34.8 kB / 475.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.1668, allocations: 0 / 475.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004774/0.1673, allocations: 223 kB / 475.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1674, allocations: 55.41 kB / 475.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.1675, allocations: 101.8 kB / 475.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1675, allocations: 37.64 kB / 475.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.1676, allocations: 132.5 kB / 475.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.1676, allocations: 90.64 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.1677, allocations: 37.72 kB / 475.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1679, allocations: 330.8 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.168, allocations: 43.95 kB / 476.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.1681, allocations: 43.97 kB / 476.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1683, allocations: 122.5 kB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1683, allocations: 0 / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002803/0.1686, allocations: 169.5 kB / 476.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.1686, allocations: 8 kB / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1687, allocations: 0 / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1687, allocations: 0 / 476.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.169, allocations: 103.9 kB / 476.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1691, allocations: 0 / 476.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.1691, allocations: 15.84 kB / 476.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1691, allocations: 4 kB / 476.8 MB, free: 6.344 MB / 350.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.0001275/0.1693, allocations: 133.8 kB / 476.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.1693, allocations: 19.73 kB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.1694, allocations: 25.12 kB / 476.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1694, allocations: 4 kB / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1694, allocations: 0 / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1694, allocations: 4 kB / 476.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.1697, allocations: 269.4 kB / 477.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1697, allocations: 3.938 kB / 477.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.1701, allocations: 103.9 kB / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1701, allocations: 0 / 477.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.1702, allocations: 12 kB / 477.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1702, allocations: 0 / 477.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1702, allocations: 3.938 kB / 477.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.1705, allocations: 267.4 kB / 477.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.1706, allocations: 92.89 kB / 477.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1706, allocations: 8 kB / 477.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.1707, allocations: 8 kB / 477.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1708, allocations: 15.97 kB / 477.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1708, allocations: 12 kB / 477.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.437e-05/0.1708, allocations: 83.22 kB / 477.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1709, allocations: 3.938 kB / 477.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1711, allocations: 47.75 kB / 477.8 MB, free: 5.16 MB / 350.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.0001322/0.1713, allocations: 103.7 kB / 478 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.1716, allocations: 136.3 kB / 478.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1716, allocations: 4 kB / 478.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1717, allocations: 79.84 kB / 478.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.172, allocations: 11.94 kB / 478.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.1728, allocations: 0.5481 MB / 478.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1731, allocations: 0.7283 MB / 479.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.1732, allocations: 17.41 kB / 479.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.1733, allocations: 15.44 kB / 479.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1733, allocations: 4 kB / 479.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of Templates: time 0.003395/0.1767, allocations: 0.8545 MB / 480.3 MB, free: 2.602 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches