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.0008986/0.0008986, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001493/0.001493, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9021/0.9021, allocations: 177.1 MB / 206 MB, free: 4.504 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.1336/0.1336, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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 1.173e-06/1.173e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.656e-06/9.829e-06, allocations: 5.547 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.001681/0.001691, allocations: 2.075 MB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.002741, allocations: 1.369 MB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.00282, allocations: 4 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.002858, allocations: 23.67 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.002944, allocations: 31.72 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.003234, allocations: 207 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.003363, allocations: 184 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.003493, allocations: 84.06 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.003612, allocations: 119.7 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.003666, allocations: 59.78 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.003683, allocations: 16 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.003829, allocations: 159.7 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.003849, allocations: 39.78 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.003878, allocations: 67.81 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.004075, allocations: 282.8 kB / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.004076, allocations: 0 / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004077, allocations: 0 / 384 MB, free: 18.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.00408, allocations: 4 kB / 384 MB, free: 18.69 MB / 314.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.0002869/0.004367, allocations: 0.5506 MB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.004393, allocations: 8.031 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.004883, allocations: 183.6 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.004989, allocations: 156.3 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.005002, allocations: 17.03 kB / 384.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.005018, allocations: 32.38 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.00514, allocations: 159.3 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005147, allocations: 4.188 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.005159, allocations: 12.36 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.005165, allocations: 11.94 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.005224, allocations: 72.52 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.005614, allocations: 0.5083 MB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.005824, allocations: 176.3 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.005859, allocations: 40.14 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.005874, allocations: 4.234 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.005888, allocations: 45.56 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.112e-06/0.005889, allocations: 0 / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001634/0.006052, allocations: 160.6 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.00607, allocations: 59.34 kB / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.44e-05/0.006104, allocations: 161.9 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.006113, allocations: 29.7 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.006138, allocations: 183.5 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.00617, allocations: 87.17 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.006205, allocations: 51.33 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.498e-05/0.00624, allocations: 0.4923 MB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.006259, allocations: 15.98 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.006279, allocations: 31.95 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.006334, allocations: 75.59 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006336, allocations: 4 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 9.445e-05/0.006431, allocations: 134.3 kB / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.006441, allocations: 4 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.006444, allocations: 0 / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.00645, allocations: 4 kB / 387.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.006622, allocations: 103.9 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006625, allocations: 3.938 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.006653, allocations: 19.84 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.00666, allocations: 8 kB / 387.6 MB, free: 14.92 MB / 314.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.488e-05/0.006705, allocations: 164.5 kB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.006729, allocations: 19.95 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.006754, allocations: 21.62 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.006756, allocations: 4 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.006758, allocations: 3.938 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.006761, allocations: 3.984 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.929e-05/0.00686, allocations: 161.1 kB / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006861, allocations: 256 / 387.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.007012, allocations: 107.9 kB / 388 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.007013, allocations: 0 / 388 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007019, allocations: 4 kB / 388 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.00702, allocations: 7.938 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.007021, allocations: 0 / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.007125, allocations: 299.7 kB / 388.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.007132, allocations: 11.89 kB / 388.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.007143, allocations: 8 kB / 388.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.007183, allocations: 7.984 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.007208, allocations: 15.97 kB / 388.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.007213, allocations: 4 kB / 388.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.378e-05/0.007227, allocations: 123.2 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007227, allocations: 0 / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.00739, allocations: 67.72 kB / 388.6 MB, free: 13.85 MB / 314.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 4.74e-05/0.007437, allocations: 99.19 kB / 388.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.007529, allocations: 100 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.007529, allocations: 4 kB / 388.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/0.007566, allocations: 68.03 kB / 388.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.00774, allocations: 23.91 kB / 388.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.008075, allocations: 422.7 kB / 389.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.436e-05/0.008099, allocations: 71.84 kB / 389.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.008154, allocations: 21.47 kB / 389.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.008206, allocations: 90.19 kB / 389.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008207, allocations: 4 kB / 389.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of Templates: time 0.002418/0.01063, allocations: 1.127 MB / 390.6 MB, free: 11.79 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] 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","",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.821918501984328]