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.0008091/0.0008091, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003075/0.003075, allocations: 160.2 kB / 24.7 MB, free: 8.879 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.8492/0.8492, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2204/0.2204, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 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 2.605e-06/2.605e-06, allocations: 0 / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.18e-05, allocations: 4.531 kB / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.144/0.1441, allocations: 2.037 MB / 445.5 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1452, allocations: 1.271 MB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.1453, allocations: 2.656 kB / 446.8 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.183e-05/0.1453, allocations: 32.45 kB / 446.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.1454, allocations: 36.69 kB / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.1457, allocations: 203.8 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.1459, allocations: 181.9 kB / 447.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.146, allocations: 79.67 kB / 447.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1461, allocations: 115.4 kB / 447.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.1462, allocations: 66.95 kB / 447.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1462, allocations: 17.72 kB / 447.5 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1464, allocations: 153.4 kB / 447.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.1464, allocations: 43.95 kB / 447.7 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.1464, allocations: 66.03 kB / 447.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1466, allocations: 330.6 kB / 448.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1466, allocations: 0 / 448.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1466, allocations: 2.25 kB / 448.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1466, allocations: 3.188 kB / 448.1 MB, free: 42.45 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.0003412/0.147, allocations: 461.7 kB / 448.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.147, allocations: 8.906 kB / 448.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004348/0.1474, allocations: 79.72 kB / 448.6 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1476, allocations: 154 kB / 448.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1476, allocations: 20.28 kB / 448.8 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1476, allocations: 28.88 kB / 448.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1478, allocations: 203.7 kB / 449 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1478, allocations: 192 / 449 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1479, allocations: 15.19 kB / 449 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1479, allocations: 11.31 kB / 449 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.148, allocations: 143.9 kB / 449.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1484, allocations: 477.6 kB / 449.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.1487, allocations: 209.9 kB / 449.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.1487, allocations: 62.72 kB / 449.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1488, allocations: 7.141 kB / 449.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.1488, allocations: 37.7 kB / 449.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.133e-06/0.1488, allocations: 0 / 449.9 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002495/0.149, allocations: 218.1 kB / 450.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.149, allocations: 54.34 kB / 450.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.603e-05/0.1491, allocations: 105.7 kB / 450.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.1491, allocations: 29.7 kB / 450.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.753e-05/0.1491, allocations: 133.7 kB / 450.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.1491, allocations: 94.19 kB / 450.6 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.1492, allocations: 39.31 kB / 450.6 MB, free: 40.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.715e-05/0.1492, allocations: 325 kB / 450.9 MB, free: 40.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.1493, allocations: 44.91 kB / 451 MB, free: 40.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.1493, allocations: 53.5 kB / 451 MB, free: 40.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1494, allocations: 119 kB / 451.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1494, allocations: 0 / 451.1 MB, free: 40.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001332/0.1495, allocations: 169.7 kB / 451.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.1495, allocations: 6.938 kB / 451.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1496, allocations: 0 / 451.3 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1496, allocations: 3.938 kB / 451.3 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1497, allocations: 107.9 kB / 451.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1497, allocations: 2.594 kB / 451.4 MB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.1498, allocations: 16.83 kB / 451.4 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1498, allocations: 4.406 kB / 451.4 MB, free: 40.25 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 4.993e-05/0.1498, allocations: 124.5 kB / 451.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.1498, allocations: 14.02 kB / 451.6 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.1499, allocations: 28.75 kB / 451.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1499, allocations: 10.28 kB / 451.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1499, allocations: 5.875 kB / 451.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1499, allocations: 0 / 451.6 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.15, allocations: 191.6 kB / 451.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.15, allocations: 0 / 451.8 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1501, allocations: 96.17 kB / 451.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1501, allocations: 0 / 451.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1501, allocations: 10.16 kB / 451.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1501, allocations: 0 / 451.9 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1501, allocations: 3.938 kB / 451.9 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.1503, allocations: 272.6 kB / 452.2 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.1503, allocations: 14.03 kB / 452.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1503, allocations: 6.938 kB / 452.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.1504, allocations: 10 kB / 452.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1504, allocations: 19.53 kB / 452.2 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1504, allocations: 11.06 kB / 452.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.567e-05/0.1504, allocations: 81.06 kB / 452.3 MB, free: 39.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1504, allocations: 0 / 452.3 MB, free: 39.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.1506, allocations: 56.78 kB / 452.4 MB, free: 39.61 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 5.93e-05/0.1506, allocations: 98.66 kB / 452.5 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1508, allocations: 123.3 kB / 452.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.1508, allocations: 0 / 452.6 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.531e-05/0.1508, allocations: 77.06 kB / 452.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.151, allocations: 18.33 kB / 452.7 MB, free: 39.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.1514, allocations: 452.4 kB / 453.1 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.1514, allocations: 119.5 kB / 453.2 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.1515, allocations: 19.94 kB / 453.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1515, allocations: 0 / 453.3 MB, free: 39.07 MB / 410.7 MB Notification: Performance of Templates: time 0.001885/0.1534, allocations: 1.862 MB / 455.1 MB, free: 38.91 MB / 410.7 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: 4.401855279691517]