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.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.001141/0.001141, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.006472/0.006472, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.893/0.893, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 440.9 MB, free: 3.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.815e-05, allocations: 6.219 kB / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002486/0.002514, allocations: 2.044 MB / 442.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.004379, allocations: 1.266 MB / 444.2 MB, free: 420 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.004498, allocations: 8 kB / 444.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.241e-05/0.00455, allocations: 23.67 kB / 444.2 MB, free: 388 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.004657, allocations: 31.72 kB / 444.2 MB, free: 356 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.005112, allocations: 210.9 kB / 444.4 MB, free: 144 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1673/0.1724, allocations: 178.6 kB / 444.6 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.1727, allocations: 73.2 kB / 444.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.173, allocations: 115.7 kB / 444.8 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.173, allocations: 68.86 kB / 444.9 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1731, allocations: 14.47 kB / 444.9 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.1733, allocations: 155.8 kB / 445 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.1734, allocations: 49.22 kB / 445.1 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.1734, allocations: 59.58 kB / 445.1 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.1737, allocations: 331.7 kB / 445.5 MB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1737, allocations: 0 / 445.5 MB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1737, allocations: 2.031 kB / 445.5 MB, free: 43.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1737, allocations: 0 / 445.5 MB, free: 43.82 MB / 410.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.0003975/0.1741, allocations: 465.8 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1742, allocations: 11.27 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.1747, allocations: 76.94 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1749, allocations: 155.2 kB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1749, allocations: 19.84 kB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1749, allocations: 30.75 kB / 446.2 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1752, allocations: 201.6 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1752, allocations: 7.078 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1752, allocations: 13.34 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1752, allocations: 9.75 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1754, allocations: 143.4 kB / 446.6 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.1758, allocations: 476 kB / 447 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.1762, allocations: 216.8 kB / 447.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.1762, allocations: 61.88 kB / 447.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1763, allocations: 2.953 kB / 447.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.1763, allocations: 37.52 kB / 447.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.1763, allocations: 0 / 447.3 MB, free: 42.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002915/0.1766, allocations: 213.4 kB / 447.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.1766, allocations: 67.27 kB / 447.6 MB, free: 42.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.1766, allocations: 101.5 kB / 447.7 MB, free: 42.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1767, allocations: 30.92 kB / 447.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.1767, allocations: 138.4 kB / 447.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.1767, allocations: 92.47 kB / 448 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1768, allocations: 45.67 kB / 448 MB, free: 42.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.327e-05/0.1768, allocations: 323.3 kB / 448.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/0.1768, allocations: 43.14 kB / 448.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.1769, allocations: 43.14 kB / 448.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.177, allocations: 114.8 kB / 448.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.177, allocations: 3.562 kB / 448.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001535/0.1772, allocations: 174.3 kB / 448.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1772, allocations: 8.281 kB / 448.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1772, allocations: 0 / 448.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1772, allocations: 4 kB / 448.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1774, allocations: 106 kB / 448.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1774, allocations: 0 / 448.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.1774, allocations: 18.17 kB / 448.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1774, allocations: 5.656 kB / 448.8 MB, free: 42.15 MB / 410.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 6.073e-05/0.1775, allocations: 130.7 kB / 449 MB, free: 42.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.1775, allocations: 10.83 kB / 449 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.1775, allocations: 23.97 kB / 449 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1775, allocations: 2.812 kB / 449 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1775, allocations: 3.938 kB / 449 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1776, allocations: 5.391 kB / 449 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1777, allocations: 186.5 kB / 449.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1777, allocations: 0 / 449.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.1778, allocations: 107.1 kB / 449.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1778, allocations: 2.969 kB / 449.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1779, allocations: 2.938 kB / 449.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1779, allocations: 2.906 kB / 449.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1779, allocations: 0 / 449.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.178, allocations: 271.6 kB / 449.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.178, allocations: 13.45 kB / 449.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1781, allocations: 6.844 kB / 449.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.1781, allocations: 11.78 kB / 449.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1781, allocations: 21.95 kB / 449.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1781, allocations: 6.531 kB / 449.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.731e-05/0.1782, allocations: 84.78 kB / 449.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1782, allocations: 3.469 kB / 449.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001767/0.1783, allocations: 50.41 kB / 449.8 MB, free: 41.64 MB / 410.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 8.06e-05/0.1784, allocations: 97.69 kB / 449.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1786, allocations: 123.2 kB / 450 MB, free: 41.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1786, allocations: 0 / 450 MB, free: 41.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.1787, allocations: 74.09 kB / 450.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.1788, allocations: 14.88 kB / 450.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.1793, allocations: 453.2 kB / 450.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.1794, allocations: 122.5 kB / 450.6 MB, free: 41.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1794, allocations: 27.73 kB / 450.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1794, allocations: 0 / 450.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of Templates: time 0.002282/0.1817, allocations: 1.854 MB / 452.5 MB, free: 40.98 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.803467105142772]