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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 116.1 kB / 19.64 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 195.9 kB / 22.92 MB, free: 5.879 MB / 14.72 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 1.48/1.48, allocations: 207.6 MB / 233.6 MB, free: 10.94 MB / 190.1 MB " [Timeout remaining time 178] 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.2333/0.2333, allocations: 44.24 MB / 330.1 MB, free: 9.773 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 64.28 kB / 467.7 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1404, allocations: 61 MB / 0.5163 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003706/0.1441, allocations: 2.135 MB / 0.5184 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1464, allocations: 1.329 MB / 0.5197 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.1465, allocations: 4 kB / 0.5197 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.1466, allocations: 23.72 kB / 0.5197 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.1467, allocations: 35.66 kB / 0.5197 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.1472, allocations: 187.3 kB / 0.5199 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.1475, allocations: 176.1 kB / 0.5201 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1477, allocations: 87.52 kB / 0.5202 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.1479, allocations: 83.58 kB / 0.5203 GB, free: 3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.148, allocations: 91.55 kB / 0.5203 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.148, allocations: 16 kB / 0.5204 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.1484, allocations: 151.9 kB / 0.5205 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.1484, allocations: 39.8 kB / 0.5205 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.646e-05/0.1485, allocations: 99.45 kB / 0.5206 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.149, allocations: 306.6 kB / 0.5209 GB, free: 2.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.149, allocations: 0 / 0.5209 GB, free: 2.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.149, allocations: 0 / 0.5209 GB, free: 2.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.149, allocations: 4 kB / 0.5209 GB, free: 2.305 MB / 398.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.0007531/0.1497, allocations: 0.5221 MB / 0.5214 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1498, allocations: 15.98 kB / 0.5215 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008729/0.1506, allocations: 68.75 kB / 0.5215 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.1508, allocations: 192 kB / 0.5217 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.1508, allocations: 20.94 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.1509, allocations: 28.38 kB / 0.5217 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.1513, allocations: 201.2 kB / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1513, allocations: 0 / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.1513, allocations: 11.98 kB / 0.522 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.1513, allocations: 8 kB / 0.522 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.1517, allocations: 150.1 kB / 0.5221 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009576/0.1526, allocations: 0.5852 MB / 0.5227 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.1532, allocations: 219.3 kB / 0.5229 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1533, allocations: 65.3 kB / 0.5229 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1533, allocations: 4.172 kB / 0.523 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1534, allocations: 34.8 kB / 0.523 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.543e-06/0.1534, allocations: 0 / 0.523 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005134/0.1539, allocations: 222.3 kB / 0.5232 GB, free: 15.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1539, allocations: 51.41 kB / 0.5232 GB, free: 15.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.154, allocations: 105.9 kB / 0.5233 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1541, allocations: 29.7 kB / 0.5234 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1542, allocations: 136.6 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.1543, allocations: 95.12 kB / 0.5236 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/0.1543, allocations: 41.7 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1545, allocations: 322.8 kB / 0.5239 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1546, allocations: 43.97 kB / 0.524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.1547, allocations: 40.92 kB / 0.524 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.1549, allocations: 125.3 kB / 0.5241 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1549, allocations: 3.938 kB / 0.5241 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000304/0.1552, allocations: 173.5 kB / 0.5243 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1553, allocations: 4 kB / 0.5243 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1553, allocations: 4.188 kB / 0.5243 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1553, allocations: 0 / 0.5243 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1557, allocations: 107.9 kB / 0.5244 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1557, allocations: 4 kB / 0.5244 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.1558, allocations: 15.89 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1558, allocations: 11.98 kB / 0.5245 GB, free: 14.47 MB / 414.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.0001293/0.1559, allocations: 121.8 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.156, allocations: 15.89 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.328e-05/0.156, allocations: 25.11 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.156, allocations: 8 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.156, allocations: 3.938 kB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.156, allocations: 0 / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.1564, allocations: 269.4 kB / 0.5249 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1564, allocations: 7.938 kB / 0.5249 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.1568, allocations: 91.89 kB / 0.525 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.1568, allocations: 4 kB / 0.525 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1568, allocations: 8 kB / 0.525 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1568, allocations: 3.984 kB / 0.525 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1568, allocations: 0 / 0.525 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.1571, allocations: 271.6 kB / 0.5252 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.1572, allocations: 96.92 kB / 0.5253 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.1572, allocations: 4 kB / 0.5253 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.379e-05/0.1573, allocations: 8 kB / 0.5254 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1573, allocations: 15.98 kB / 0.5254 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1574, allocations: 8 kB / 0.5254 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.1574, allocations: 83.27 kB / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1574, allocations: 0 / 0.5255 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.1577, allocations: 51.84 kB / 0.5255 GB, free: 13.3 MB / 414.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.0001696/0.1579, allocations: 103.1 kB / 0.5256 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.1582, allocations: 127.9 kB / 0.5257 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1582, allocations: 4 kB / 0.5257 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1583, allocations: 67.91 kB / 0.5258 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.1586, allocations: 15.94 kB / 0.5258 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.1595, allocations: 486.9 kB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.1599, allocations: 0.728 MB / 0.527 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.385e-05/0.16, allocations: 17.41 kB / 0.527 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.16, allocations: 23.38 kB / 0.527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.16, allocations: 0 / 0.527 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Templates: time 0.004372/0.1644, allocations: 1.023 MB / 0.528 GB, free: 10.66 MB / 414.1 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.38464112393558]