Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001323/0.001323, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001425/0.001425, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2369/0.2369, allocations: 46.94 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.91 kB / 0.4914 GB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1643, allocations: 65.99 MB / 0.5559 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004166/0.1684, allocations: 2.122 MB / 0.5579 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.171, allocations: 1.398 MB / 0.5593 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1711, allocations: 4 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.341e-05/0.1712, allocations: 23.67 kB / 0.5593 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1714, allocations: 31.66 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.172, allocations: 195.2 kB / 0.5595 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.1723, allocations: 184.1 kB / 0.5597 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1725, allocations: 93.5 kB / 0.5598 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.1728, allocations: 87.64 kB / 0.5599 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1729, allocations: 87.55 kB / 0.56 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.1729, allocations: 16 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.1732, allocations: 151.9 kB / 0.5601 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.1733, allocations: 47.77 kB / 0.5602 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.1734, allocations: 87.48 kB / 0.5603 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.1739, allocations: 322.6 kB / 0.5606 GB, free: 464 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1739, allocations: 4 kB / 0.5606 GB, free: 460 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1739, allocations: 0 / 0.5606 GB, free: 460 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1739, allocations: 0 / 0.5606 GB, free: 460 kB / 414.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.0008431/0.1747, allocations: 0.5298 MB / 0.5611 GB, free: 15.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1748, allocations: 8.031 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.1758, allocations: 80.73 kB / 0.5612 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1762, allocations: 216 kB / 0.5614 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1762, allocations: 20.94 kB / 0.5614 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.1762, allocations: 24.38 kB / 0.5614 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.1767, allocations: 201.2 kB / 0.5616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1767, allocations: 3.938 kB / 0.5616 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.1767, allocations: 12 kB / 0.5616 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1767, allocations: 8 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.177, allocations: 142.2 kB / 0.5618 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1781, allocations: 0.6007 MB / 0.5624 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.1787, allocations: 209.7 kB / 0.5626 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.1788, allocations: 61.3 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1788, allocations: 8.172 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1789, allocations: 38.78 kB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.844e-06/0.1789, allocations: 4 kB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005293/0.1794, allocations: 220.8 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.1794, allocations: 55.41 kB / 0.5629 GB, free: 13.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1796, allocations: 105.8 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1796, allocations: 25.7 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1797, allocations: 136.7 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.18, allocations: 95.17 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.1801, allocations: 41.7 kB / 0.5633 GB, free: 13.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1802, allocations: 326.8 kB / 0.5636 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1804, allocations: 35.98 kB / 0.5637 GB, free: 13.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1805, allocations: 52.89 kB / 0.5637 GB, free: 13.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1807, allocations: 121.2 kB / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1807, allocations: 0 / 0.5638 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003164/0.181, allocations: 169.5 kB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1811, allocations: 4 kB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1811, allocations: 0 / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.1811, allocations: 4 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.1815, allocations: 95.89 kB / 0.5641 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.1815, allocations: 7.984 kB / 0.5641 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.1816, allocations: 20.12 kB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.1816, allocations: 8 kB / 0.5641 GB, free: 12.59 MB / 430.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.0001282/0.1817, allocations: 125.8 kB / 0.5642 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.1818, allocations: 23.78 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.1818, allocations: 25.53 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1818, allocations: 4 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1818, allocations: 0 / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1818, allocations: 3.984 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.1822, allocations: 269.5 kB / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1822, allocations: 3.938 kB / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.1826, allocations: 99.94 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1826, allocations: 0 / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1826, allocations: 7.938 kB / 0.5647 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1826, allocations: 4 kB / 0.5647 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1826, allocations: 0 / 0.5647 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.183, allocations: 275.6 kB / 0.5649 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.1831, allocations: 100.9 kB / 0.565 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.1832, allocations: 8 kB / 0.565 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.1833, allocations: 7.984 kB / 0.565 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.1833, allocations: 15.92 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1833, allocations: 8 kB / 0.5651 GB, free: 11.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.1834, allocations: 87.27 kB / 0.5652 GB, free: 11.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1834, allocations: 4 kB / 0.5652 GB, free: 11.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1837, allocations: 39.89 kB / 0.5652 GB, free: 11.4 MB / 430.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.0001577/0.1839, allocations: 107.2 kB / 0.5653 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.1843, allocations: 115.9 kB / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1843, allocations: 0 / 0.5654 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1844, allocations: 79.88 kB / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1847, allocations: 11.94 kB / 0.5655 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1857, allocations: 479.5 kB / 0.566 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.1863, allocations: 0.7396 MB / 0.5667 GB, free: 9.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.608e-05/0.1864, allocations: 13.41 kB / 0.5667 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.1865, allocations: 19.44 kB / 0.5667 GB, free: 9.785 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1865, allocations: 0 / 0.5667 GB, free: 9.785 MB / 430.1 MB Notification: Performance of Templates: time 0.004276/0.1908, allocations: 0.9786 MB / 0.5677 GB, free: 8.809 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.346117831766605]