Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.00125, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.3 MB, free: 9.074 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 60.53 kB / 306.2 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.152, allocations: 50.53 MB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.004504/0.1566, allocations: 1.569 MB / 358.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1579, allocations: 0.5298 MB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.158, allocations: 3.938 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1582, allocations: 23.92 kB / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1583, allocations: 7.938 kB / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1586, allocations: 35.97 kB / 358.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1587, allocations: 55.8 kB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1589, allocations: 23.95 kB / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1591, allocations: 27.92 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.1592, allocations: 23.91 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1592, allocations: 3.938 kB / 359.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-05/0.1593, allocations: 19.94 kB / 359.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.1594, allocations: 19.97 kB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.1594, allocations: 23.86 kB / 359.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1596, allocations: 63.78 kB / 359.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1596, allocations: 4 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1596, allocations: 0 / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1597, allocations: 0 / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000867/0.1605, allocations: 382.2 kB / 359.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.1606, allocations: 12.03 kB / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.1607, allocations: 8.844 kB / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1608, allocations: 180.2 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1609, allocations: 384 / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1609, allocations: 8.375 kB / 359.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.1613, allocations: 85.95 kB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1613, allocations: 0 / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1613, allocations: 0 / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1613, allocations: 4 kB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.1618, allocations: 87.84 kB / 360 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.1623, allocations: 300.8 kB / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.1628, allocations: 78.56 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.163, allocations: 44.94 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.163, allocations: 0 / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.1631, allocations: 30.56 kB / 360.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.1631, allocations: 7.938 kB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007536/0.1639, allocations: 149.5 kB / 360.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.1639, allocations: 55.34 kB / 360.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.164, allocations: 113.8 kB / 360.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.1641, allocations: 29.7 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.1642, allocations: 99.98 kB / 360.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.1642, allocations: 15.8 kB / 360.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.1643, allocations: 13.72 kB / 360.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1644, allocations: 326.8 kB / 361.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1647, allocations: 31.97 kB / 361.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.1649, allocations: 39.95 kB / 361.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.1653, allocations: 76.8 kB / 361.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1653, allocations: 3.984 kB / 361.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004436/0.1657, allocations: 110 kB / 361.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1658, allocations: 11.94 kB / 361.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1658, allocations: 0 / 361.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1658, allocations: 0 / 361.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.166, allocations: 24.05 kB / 361.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.166, allocations: 7.969 kB / 361.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1661, allocations: 15.92 kB / 361.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1661, allocations: 0 / 361.5 MB, free: 9.336 MB / 302.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 (5): * Single equations (assignments): 5 * 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.0001091/0.1662, allocations: 121.7 kB / 361.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.1663, allocations: 7.906 kB / 361.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.1669, allocations: 133.5 kB / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1669, allocations: 3.938 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1669, allocations: 0 / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1669, allocations: 0 / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.1672, allocations: 185.6 kB / 362 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1672, allocations: 4 kB / 362 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1674, allocations: 27.97 kB / 362 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1674, allocations: 0 / 362 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1674, allocations: 0 / 362 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.1674, allocations: 384 / 362 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.1674, allocations: 4 kB / 362 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.168, allocations: 223.3 kB / 362.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1681, allocations: 81.02 kB / 362.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1681, allocations: 11.94 kB / 362.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1682, allocations: 15.91 kB / 362.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.1683, allocations: 11.92 kB / 362.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.1683, allocations: 4 kB / 362.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.1684, allocations: 87.27 kB / 362.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1684, allocations: 4 kB / 362.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.1688, allocations: 15.94 kB / 362.4 MB, free: 8.309 MB / 302.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 (7): * Single equations (assignments): 7 * 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.0001576/0.1689, allocations: 99.25 kB / 362.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.1694, allocations: 79.92 kB / 362.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1694, allocations: 4 kB / 362.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.1697, allocations: 51.89 kB / 362.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1701, allocations: 8 kB / 362.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.1705, allocations: 179.8 kB / 362.8 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1709, allocations: 0.6887 MB / 363.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.545e-05/0.1709, allocations: 0 / 363.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.171, allocations: 11.44 kB / 363.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.171, allocations: 0 / 363.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of Templates: time 0.004341/0.1753, allocations: 0.7728 MB / 364.3 MB, free: 6.363 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches