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.00133/0.00133, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001516/0.001516, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2094/0.2094, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.47 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1366, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003962/0.1406, allocations: 2.081 MB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.1434, allocations: 1.312 MB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.1437, allocations: 4 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.1439, allocations: 23.67 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1443, allocations: 27.72 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.1452, allocations: 191.3 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.1455, allocations: 172.1 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.1459, allocations: 99.58 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1461, allocations: 79.64 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1463, allocations: 91.55 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.1464, allocations: 16 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005282/0.1469, allocations: 151.9 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.147, allocations: 39.84 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1471, allocations: 95.47 kB / 473.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.1477, allocations: 299.3 kB / 473.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1477, allocations: 4 kB / 473.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1478, allocations: 0 / 473.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1478, allocations: 4 kB / 473.9 MB, free: 9.68 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.0008467/0.1486, allocations: 0.5188 MB / 474.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1487, allocations: 8.031 kB / 474.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1497, allocations: 68.61 kB / 474.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.15, allocations: 192 kB / 474.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.15, allocations: 16.94 kB / 474.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.15, allocations: 32.38 kB / 474.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.1504, allocations: 205.2 kB / 474.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1504, allocations: 0 / 474.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.1505, allocations: 12 kB / 475 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1505, allocations: 4 kB / 475 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.1508, allocations: 150.1 kB / 475.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1519, allocations: 0.5889 MB / 475.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/0.1525, allocations: 225.3 kB / 475.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1527, allocations: 69.3 kB / 476 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.1527, allocations: 8.172 kB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1528, allocations: 38.73 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.1528, allocations: 4 kB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005409/0.1533, allocations: 219.7 kB / 476.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1534, allocations: 55.41 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.1535, allocations: 105.8 kB / 476.4 MB, free: 7.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1535, allocations: 29.7 kB / 476.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.1536, allocations: 132.5 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.1537, allocations: 94.64 kB / 476.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.1538, allocations: 37.72 kB / 476.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1539, allocations: 322.8 kB / 477 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.154, allocations: 47.95 kB / 477.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-05/0.1541, allocations: 52.19 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.1543, allocations: 108.8 kB / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.1544, allocations: 0 / 477.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00027/0.1546, allocations: 177.8 kB / 477.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1547, allocations: 4 kB / 477.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1547, allocations: 4 kB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.1547, allocations: 4 kB / 477.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.155, allocations: 99.88 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.1551, allocations: 7.984 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.1551, allocations: 15.84 kB / 477.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1552, allocations: 4 kB / 477.5 MB, free: 5.852 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.0001154/0.1553, allocations: 133.8 kB / 477.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.1553, allocations: 15.75 kB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.1554, allocations: 21.12 kB / 477.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1554, allocations: 4 kB / 477.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1554, allocations: 0 / 477.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1554, allocations: 3.938 kB / 477.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.1557, allocations: 273.4 kB / 478 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1557, allocations: 3.938 kB / 478 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.1561, allocations: 103.9 kB / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1561, allocations: 0 / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1561, allocations: 4 kB / 478.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1561, allocations: 4 kB / 478.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1561, allocations: 0 / 478.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.1565, allocations: 275.3 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.1565, allocations: 92.89 kB / 478.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1566, allocations: 8 kB / 478.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.1567, allocations: 0 / 478.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.1567, allocations: 23.95 kB / 478.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1567, allocations: 4 kB / 478.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.1568, allocations: 87.53 kB / 478.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1568, allocations: 3.938 kB / 478.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1571, allocations: 51.75 kB / 478.6 MB, free: 4.672 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.0001149/0.1572, allocations: 111.1 kB / 478.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.1575, allocations: 144 kB / 478.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1576, allocations: 0 / 478.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1577, allocations: 76.78 kB / 478.9 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1579, allocations: 19.92 kB / 479 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.1587, allocations: 459.6 kB / 479.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1591, allocations: 0.7358 MB / 480.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.1592, allocations: 17.42 kB / 480.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.1592, allocations: 15.44 kB / 480.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1593, allocations: 0 / 480.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Templates: time 0.003894/0.1631, allocations: 0.9181 MB / 481.1 MB, free: 2.129 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