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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 84.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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 0.9634/0.9634, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.1426/0.1426, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.36e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004319/0.004352, allocations: 2.061 MB / 301.1 MB, free: 116 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1505/0.1548, allocations: 1.316 MB / 302.5 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.155, allocations: 3.469 kB / 302.5 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.41e-05/0.155, allocations: 26.06 kB / 302.5 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1552, allocations: 35.78 kB / 302.5 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005657/0.1557, allocations: 190 kB / 302.7 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1559, allocations: 179 kB / 302.9 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.1561, allocations: 84.81 kB / 303 MB, free: 19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.1563, allocations: 113.7 kB / 303.1 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1564, allocations: 66.42 kB / 303.1 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.1565, allocations: 16 kB / 303.2 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.1568, allocations: 139.7 kB / 303.3 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.1568, allocations: 49.75 kB / 303.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.1569, allocations: 58.52 kB / 303.4 MB, free: 18.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.1573, allocations: 286.8 kB / 303.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1573, allocations: 1.391 kB / 303.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1573, allocations: 1.062 kB / 303.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1573, allocations: 0.5312 kB / 303.7 MB, free: 18.83 MB / 282.7 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.0004337/0.1577, allocations: 432.9 kB / 304.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1578, allocations: 8.688 kB / 304.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.1583, allocations: 173.7 kB / 304.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.1584, allocations: 130.1 kB / 304.4 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1584, allocations: 23.12 kB / 304.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.1585, allocations: 27.03 kB / 304.5 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1587, allocations: 167.8 kB / 304.6 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1587, allocations: 1.406 kB / 304.6 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1587, allocations: 10.69 kB / 304.6 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1587, allocations: 11.16 kB / 304.6 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/0.1588, allocations: 68.89 kB / 304.7 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.1593, allocations: 428.4 kB / 305.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.1596, allocations: 159.8 kB / 305.3 MB, free: 17.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.1596, allocations: 38.55 kB / 305.3 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1597, allocations: 5.594 kB / 305.3 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1597, allocations: 37.73 kB / 305.4 MB, free: 17.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.504e-06/0.1597, allocations: 1.281 kB / 305.4 MB, free: 17.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001924/0.1599, allocations: 124.7 kB / 305.5 MB, free: 17.76 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.1599, allocations: 57.56 kB / 305.5 MB, free: 17.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.253e-05/0.1599, allocations: 108.3 kB / 305.7 MB, free: 17.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.16, allocations: 32.55 kB / 305.7 MB, free: 17.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.16, allocations: 137.7 kB / 305.8 MB, free: 17.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.16, allocations: 91.7 kB / 305.9 MB, free: 17.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.1601, allocations: 43.03 kB / 305.9 MB, free: 17.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.1601, allocations: 326.2 kB / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.1602, allocations: 21.17 kB / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.1602, allocations: 25.06 kB / 306.3 MB, free: 16.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.1603, allocations: 72.14 kB / 306.4 MB, free: 16.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1603, allocations: 0 / 306.4 MB, free: 16.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001223/0.1604, allocations: 106.7 kB / 306.5 MB, free: 16.94 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1604, allocations: 9.875 kB / 306.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1604, allocations: 0 / 306.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1604, allocations: 2.859 kB / 306.5 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1606, allocations: 97.25 kB / 306.6 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1606, allocations: 5.797 kB / 306.6 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.1607, allocations: 16.19 kB / 306.6 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1607, allocations: 2.781 kB / 306.6 MB, free: 16.91 MB / 282.7 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 5.83e-05/0.1607, allocations: 122.6 kB / 306.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1608, allocations: 16.03 kB / 306.8 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.1608, allocations: 23.72 kB / 306.8 MB, free: 16.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1608, allocations: 2.219 kB / 306.8 MB, free: 16.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1608, allocations: 5.25 kB / 306.8 MB, free: 16.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1608, allocations: 7.312 kB / 306.8 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.161, allocations: 133.9 kB / 306.9 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.161, allocations: 2.125 kB / 306.9 MB, free: 16.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.1611, allocations: 96.25 kB / 307 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1612, allocations: 6.578 kB / 307 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1612, allocations: 5.156 kB / 307 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1612, allocations: 5.375 kB / 307 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1612, allocations: 1.844 kB / 307 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1613, allocations: 216.5 kB / 307.2 MB, free: 16.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.1613, allocations: 18.12 kB / 307.3 MB, free: 16.47 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.1613, allocations: 5.719 kB / 307.3 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.313e-05/0.1614, allocations: 6.891 kB / 307.3 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.1614, allocations: 13.73 kB / 307.3 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1614, allocations: 7.469 kB / 307.3 MB, free: 16.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.384e-05/0.1614, allocations: 12.42 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1614, allocations: 0.9062 kB / 307.3 MB, free: 16.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.1616, allocations: 58 kB / 307.4 MB, free: 16.43 MB / 282.7 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 7.056e-05/0.1617, allocations: 81.62 kB / 307.4 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.1618, allocations: 89 kB / 307.5 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1618, allocations: 0 / 307.5 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.1619, allocations: 60.92 kB / 307.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.162, allocations: 15.58 kB / 307.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.1625, allocations: 438.8 kB / 308 MB, free: 16.03 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.1626, allocations: 77.41 kB / 308.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.1627, allocations: 21.94 kB / 308.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.1627, allocations: 70.38 kB / 308.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1627, allocations: 0 / 308.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Templates: time 0.003088/0.1658, allocations: 1.088 MB / 309.3 MB, free: 15.79 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.029154191724956]