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.00111/0.00111, allocations: 80.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.001204/0.001204, 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.9286/0.9286, allocations: 158.6 MB / 186 MB, free: 2.758 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.1353/0.1353, 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 1.844e-06/1.844e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.955e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002611/0.002631, allocations: 2.108 MB / 301.2 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1629/0.1656, allocations: 1.316 MB / 302.5 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1657, allocations: 2.562 kB / 302.6 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.554e-05/0.1657, allocations: 26.08 kB / 302.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.1659, allocations: 41.34 kB / 302.6 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.1666, allocations: 177.9 kB / 302.8 MB, free: 18.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1668, allocations: 180 kB / 303 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.167, allocations: 79.95 kB / 303 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1672, allocations: 112.2 kB / 303.2 MB, free: 18.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.1673, allocations: 63.45 kB / 303.2 MB, free: 18.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.1673, allocations: 15.75 kB / 303.2 MB, free: 18.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002816/0.1676, allocations: 162.4 kB / 303.4 MB, free: 18.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.1676, allocations: 44.78 kB / 303.4 MB, free: 18.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1677, allocations: 58.22 kB / 303.5 MB, free: 18.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.168, allocations: 287.8 kB / 303.8 MB, free: 18.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.168, allocations: 0 / 303.8 MB, free: 18.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.168, allocations: 1.125 kB / 303.8 MB, free: 18.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.168, allocations: 3.938 kB / 303.8 MB, free: 18.76 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.0003959/0.1684, allocations: 429.2 kB / 304.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1685, allocations: 10.75 kB / 304.2 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006229/0.1691, allocations: 172.3 kB / 304.4 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1692, allocations: 131 kB / 304.5 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.1693, allocations: 19.34 kB / 304.5 MB, free: 18.19 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.1693, allocations: 25.59 kB / 304.5 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.1696, allocations: 171.9 kB / 304.7 MB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1697, allocations: 1.469 kB / 304.7 MB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1697, allocations: 15.5 kB / 304.7 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.1697, allocations: 13.53 kB / 304.7 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1698, allocations: 68.67 kB / 304.8 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.1706, allocations: 422.8 kB / 305.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.171, allocations: 156 kB / 305.4 MB, free: 17.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.171, allocations: 40.3 kB / 305.4 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.1711, allocations: 4.859 kB / 305.4 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1711, allocations: 37.89 kB / 305.5 MB, free: 17.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.1711, allocations: 0 / 305.5 MB, free: 17.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001902/0.1713, allocations: 127.7 kB / 305.6 MB, free: 17.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.1713, allocations: 55.31 kB / 305.6 MB, free: 17.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.797e-05/0.1713, allocations: 111.6 kB / 305.7 MB, free: 17.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.1713, allocations: 29.7 kB / 305.8 MB, free: 17.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.1714, allocations: 138.3 kB / 305.9 MB, free: 17.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.1714, allocations: 97.05 kB / 306 MB, free: 17.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.1715, allocations: 41.88 kB / 306 MB, free: 17.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.1715, allocations: 321.2 kB / 306.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.1715, allocations: 18.5 kB / 306.4 MB, free: 16.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.1716, allocations: 28.89 kB / 306.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.518e-05/0.1716, allocations: 75.25 kB / 306.5 MB, free: 16.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1716, allocations: 0 / 306.5 MB, free: 16.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001299/0.1718, allocations: 106.9 kB / 306.6 MB, free: 16.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1718, allocations: 5.844 kB / 306.6 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1718, allocations: 0 / 306.6 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1718, allocations: 1.219 kB / 306.6 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1721, allocations: 137.8 kB / 306.7 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1722, allocations: 5.641 kB / 306.7 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.1722, allocations: 20.64 kB / 306.7 MB, free: 16.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1722, allocations: 4.297 kB / 306.8 MB, free: 16.83 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.988e-05/0.1723, allocations: 121.1 kB / 306.9 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1723, allocations: 16.52 kB / 306.9 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.1723, allocations: 23.98 kB / 306.9 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1723, allocations: 2.562 kB / 306.9 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1723, allocations: 0 / 306.9 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1723, allocations: 6 kB / 306.9 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1725, allocations: 129.4 kB / 307 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1725, allocations: 1.406 kB / 307 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.1728, allocations: 133.5 kB / 307.2 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1728, allocations: 0 / 307.2 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1728, allocations: 9.891 kB / 307.2 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1728, allocations: 5.125 kB / 307.2 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1728, allocations: 1.906 kB / 307.2 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.1729, allocations: 212.9 kB / 307.4 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.1729, allocations: 13.81 kB / 307.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.173, allocations: 6.859 kB / 307.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.173, allocations: 2.719 kB / 307.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.1731, allocations: 18.03 kB / 307.4 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.1731, allocations: 3.156 kB / 307.4 MB, free: 16.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.763e-05/0.1731, allocations: 18.53 kB / 307.5 MB, free: 16.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1731, allocations: 4 kB / 307.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.1732, allocations: 54.25 kB / 307.5 MB, free: 16.35 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.525e-05/0.1733, allocations: 85.42 kB / 307.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1735, allocations: 89.44 kB / 307.7 MB, free: 16.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1735, allocations: 0 / 307.7 MB, free: 16.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.1735, allocations: 57.58 kB / 307.7 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.1737, allocations: 18.22 kB / 307.8 MB, free: 16.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.1742, allocations: 437 kB / 308.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.191e-05/0.1742, allocations: 78.39 kB / 308.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.1743, allocations: 16.88 kB / 308.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.1744, allocations: 78.7 kB / 308.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1744, allocations: 0 / 308.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of Templates: time 0.003558/0.1779, allocations: 1.088 MB / 309.4 MB, free: 15.7 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 -s gbode -gbm=radauIIA3 -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: 2.899726187810302]