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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 111.3 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002395/0.002395, allocations: 192.8 kB / 22.98 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2463/0.2463, allocations: 44.24 MB / 330.2 MB, free: 9.559 MB / 270.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "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.002176/0.002176, allocations: 75.83 kB / 468 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1519, allocations: 61.03 MB / 0.5166 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004378/0.1562, allocations: 2.134 MB / 0.5187 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.1588, allocations: 1.333 MB / 0.52 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.159, allocations: 4 kB / 0.52 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.119e-05/0.1591, allocations: 19.73 kB / 0.52 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1592, allocations: 39.64 kB / 0.52 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.1599, allocations: 187.3 kB / 0.5202 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1602, allocations: 176.1 kB / 0.5204 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.1605, allocations: 88.06 kB / 0.5205 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1606, allocations: 79.59 kB / 0.5205 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1608, allocations: 95.53 kB / 0.5206 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.1608, allocations: 16 kB / 0.5207 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1611, allocations: 151.9 kB / 0.5208 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1612, allocations: 43.78 kB / 0.5208 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.887e-05/0.1613, allocations: 91.47 kB / 0.5209 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005191/0.1618, allocations: 318.6 kB / 0.5212 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1618, allocations: 0 / 0.5212 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1618, allocations: 0 / 0.5212 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1618, allocations: 0 / 0.5212 GB, free: 2.078 MB / 398.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.0007938/0.1626, allocations: 461.6 kB / 0.5217 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1627, allocations: 8.031 kB / 0.5217 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.1636, allocations: 68.75 kB / 0.5217 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1637, allocations: 126.2 kB / 0.5219 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.1638, allocations: 25.03 kB / 0.5219 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.1638, allocations: 24.38 kB / 0.5219 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.1643, allocations: 210.4 kB / 0.5221 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1643, allocations: 0 / 0.5221 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.1643, allocations: 11.94 kB / 0.5221 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.1643, allocations: 8 kB / 0.5221 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.1646, allocations: 142.5 kB / 0.5223 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009894/0.1656, allocations: 0.5547 MB / 0.5228 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.1662, allocations: 215.3 kB / 0.523 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1664, allocations: 69.28 kB / 0.5231 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1664, allocations: 8.172 kB / 0.5231 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1664, allocations: 34.8 kB / 0.5231 GB, free: 20 kB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.1664, allocations: 3.938 kB / 0.5231 GB, free: 16 kB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005201/0.1669, allocations: 222.2 kB / 0.5233 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.167, allocations: 55.41 kB / 0.5234 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.1671, allocations: 97.84 kB / 0.5235 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1671, allocations: 37.7 kB / 0.5235 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1672, allocations: 136.7 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.1673, allocations: 91.2 kB / 0.5237 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.1674, allocations: 37.72 kB / 0.5238 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1675, allocations: 322.8 kB / 0.5241 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.75e-05/0.1676, allocations: 43.97 kB / 0.5241 GB, free: 14.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.1677, allocations: 44.22 kB / 0.5242 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.168, allocations: 130.2 kB / 0.5243 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.168, allocations: 4 kB / 0.5243 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002942/0.1683, allocations: 169.5 kB / 0.5245 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1683, allocations: 7.938 kB / 0.5245 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1683, allocations: 4 kB / 0.5245 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1683, allocations: 0 / 0.5245 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.1687, allocations: 103.9 kB / 0.5246 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.1687, allocations: 0 / 0.5246 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.1688, allocations: 15.89 kB / 0.5246 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1688, allocations: 4 kB / 0.5246 GB, free: 14.46 MB / 414.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.0001511/0.1689, allocations: 129.8 kB / 0.5247 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.169, allocations: 11.89 kB / 0.5247 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.923e-05/0.169, allocations: 29.25 kB / 0.5247 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.169, allocations: 0 / 0.5247 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.169, allocations: 0 / 0.5247 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.169, allocations: 4 kB / 0.5247 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1694, allocations: 244.5 kB / 0.525 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1694, allocations: 3.938 kB / 0.525 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.1697, allocations: 99.94 kB / 0.5251 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1697, allocations: 0 / 0.5251 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1698, allocations: 8 kB / 0.5251 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1698, allocations: 4 kB / 0.5251 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1698, allocations: 0 / 0.5251 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.1702, allocations: 267.4 kB / 0.5253 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.1702, allocations: 19.83 kB / 0.5254 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1702, allocations: 4 kB / 0.5254 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.1703, allocations: 8 kB / 0.5254 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1704, allocations: 11.97 kB / 0.5254 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1704, allocations: 12 kB / 0.5254 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.1704, allocations: 83.27 kB / 0.5255 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1704, allocations: 0 / 0.5255 GB, free: 13.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.1707, allocations: 59.72 kB / 0.5255 GB, free: 13.41 MB / 414.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.0001204/0.1708, allocations: 99.19 kB / 0.5256 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.1711, allocations: 132.3 kB / 0.5258 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1711, allocations: 0 / 0.5258 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1713, allocations: 71.91 kB / 0.5258 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1715, allocations: 15.94 kB / 0.5258 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.1724, allocations: 473.2 kB / 0.5263 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.1728, allocations: 0.7358 MB / 0.527 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.48e-05/0.1729, allocations: 21.34 kB / 0.527 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.173, allocations: 15.44 kB / 0.527 GB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.202e-06/0.173, allocations: 0 / 0.527 GB, free: 11.8 MB / 414.1 MB Notification: Performance of Templates: time 0.004651/0.1776, allocations: 1.066 MB / 0.5281 GB, free: 10.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.729238450527191]