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.001412/0.001412, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001157/0.001157, allocations: 168.8 kB / 24.91 MB, free: 9.156 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2775/0.2775, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.293e-06/1.293e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.149e-05, allocations: 2.312 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002599/0.00262, allocations: 2.123 MB / 325.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.004374, allocations: 1.382 MB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.004485, allocations: 4 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.27e-05/0.004538, allocations: 27.67 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.004654, allocations: 35.72 kB / 326.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.005176, allocations: 191 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.005373, allocations: 188 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.005557, allocations: 79.38 kB / 327.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.005747, allocations: 119.7 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.735e-05/0.005825, allocations: 63.78 kB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.005846, allocations: 20 kB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.006108, allocations: 159.7 kB / 327.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.006137, allocations: 43.78 kB / 327.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.006182, allocations: 63.81 kB / 327.8 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.00647, allocations: 286.8 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006473, allocations: 0 / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006474, allocations: 0 / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006478, allocations: 0 / 328 MB, free: 4.883 MB / 298.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.0003953/0.006873, allocations: 449.2 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.006905, allocations: 8.031 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005995/0.007504, allocations: 179.9 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.00766, allocations: 141.5 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.007676, allocations: 25.02 kB / 328.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.007693, allocations: 24.38 kB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.007866, allocations: 175.3 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.007875, allocations: 192 / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.007888, allocations: 16.38 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.007895, allocations: 11.94 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.007965, allocations: 64.55 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.008427, allocations: 417.7 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.008657, allocations: 164.5 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.008694, allocations: 34.5 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.008713, allocations: 4.234 kB / 329.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.008737, allocations: 46.72 kB / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.008738, allocations: 0 / 329.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001779/0.008916, allocations: 126.8 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.008947, allocations: 51.41 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.009009, allocations: 114.6 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.009026, allocations: 33.7 kB / 330.1 MB, free: 2.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.009084, allocations: 140.7 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.009149, allocations: 87.17 kB / 330.3 MB, free: 2.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.009208, allocations: 45.69 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.0093, allocations: 326.8 kB / 330.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.009333, allocations: 19.98 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.009363, allocations: 19.98 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.009452, allocations: 74.12 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009454, allocations: 0 / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001341/0.009589, allocations: 109.6 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.009601, allocations: 4 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.009606, allocations: 4 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.00962, allocations: 4 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.01001, allocations: 131.8 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.01001, allocations: 7.922 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.01005, allocations: 15.89 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.01007, allocations: 8 kB / 331.1 MB, free: 1.707 MB / 298.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 8.1e-05/0.01015, allocations: 121.8 kB / 331.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.01018, allocations: 11.98 kB / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.01022, allocations: 25.62 kB / 331.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.01022, allocations: 4 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.01023, allocations: 0 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01023, allocations: 3.938 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.01041, allocations: 133.7 kB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01041, allocations: 0 / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.01075, allocations: 127.8 kB / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01075, allocations: 0 / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.01076, allocations: 7.938 kB / 331.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01077, allocations: 4.25 kB / 331.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.01077, allocations: 7.984 kB / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.01094, allocations: 207.4 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.01096, allocations: 15.88 kB / 331.7 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.01097, allocations: 4 kB / 331.7 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.01104, allocations: 8 kB / 331.7 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01108, allocations: 15.97 kB / 331.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.01109, allocations: 4 kB / 331.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.468e-05/0.0111, allocations: 16.84 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0111, allocations: 0 / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.01134, allocations: 59.84 kB / 331.8 MB, free: 0.8945 MB / 298.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 9.072e-05/0.01143, allocations: 84.3 kB / 331.9 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01157, allocations: 89.22 kB / 332 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01157, allocations: 0 / 332 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.01163, allocations: 65.2 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.01183, allocations: 19.98 kB / 332.1 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.0124, allocations: 446.1 kB / 332.5 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.01245, allocations: 75.84 kB / 332.6 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.073e-05/0.01253, allocations: 17.47 kB / 332.6 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.01263, allocations: 75.41 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01263, allocations: 0 / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Templates: time 0.003354/0.01598, allocations: 1.088 MB / 333.8 MB, free: 14.92 MB / 314.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] 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","",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.94263700209558]