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.00147/0.00147, allocations: 80.92 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.001653/0.001653, allocations: 172.8 kB / 24.91 MB, free: 9.148 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3152/0.3152, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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 1.563e-06/1.563e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.483e-05, allocations: 5.516 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002887/0.002912, allocations: 2.076 MB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.0048, allocations: 1.387 MB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.004911, allocations: 4 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.142e-05/0.004962, allocations: 23.67 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.005086, allocations: 43.58 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.005643, allocations: 203.1 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.005888, allocations: 180 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.006077, allocations: 86.73 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.006316, allocations: 115.6 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.867e-05/0.006404, allocations: 67.72 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.006436, allocations: 16 kB / 329.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.006685, allocations: 151.7 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.006714, allocations: 43.83 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.006767, allocations: 63.83 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.007126, allocations: 294.7 kB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.007131, allocations: 0 / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007132, allocations: 0 / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.007138, allocations: 0 / 330 MB, free: 2.918 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.0005089/0.007647, allocations: 437.5 kB / 330.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.007681, allocations: 12.03 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005546/0.008235, allocations: 179.8 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.008386, allocations: 145.4 kB / 330.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.008404, allocations: 25.03 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.008433, allocations: 24.38 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.008603, allocations: 167.4 kB / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.008612, allocations: 192 / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.008625, allocations: 12.38 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.008632, allocations: 7.938 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.008704, allocations: 72.47 kB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.009269, allocations: 413.8 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.009528, allocations: 167.8 kB / 331.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.009571, allocations: 42.47 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.009589, allocations: 8.234 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.009611, allocations: 34.8 kB / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.009613, allocations: 0 / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.000174/0.009787, allocations: 131.9 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.009818, allocations: 55.41 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.009869, allocations: 114.6 kB / 332 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.009883, allocations: 29.7 kB / 332 MB, free: 0.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.009941, allocations: 136.7 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.01, allocations: 91.16 kB / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.01033, allocations: 45.69 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.01041, allocations: 326.8 kB / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.01043, allocations: 15.98 kB / 332.6 MB, free: 132 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.01045, allocations: 20 kB / 332.6 MB, free: 112 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.525e-05/0.01054, allocations: 74.17 kB / 332.7 MB, free: 36 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01054, allocations: 0 / 332.7 MB, free: 36 kB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001159/0.01066, allocations: 113.6 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01067, allocations: 4 kB / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.01067, allocations: 0 / 332.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01069, allocations: 7.984 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.011, allocations: 91.95 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.01101, allocations: 7.938 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.01104, allocations: 19.83 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.01105, allocations: 3.938 kB / 333 MB, free: 15.78 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 7.275e-05/0.01112, allocations: 121.8 kB / 333.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.01115, allocations: 16 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.01118, allocations: 25.61 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01118, allocations: 4 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01118, allocations: 4 kB / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01119, allocations: 3.938 kB / 333.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.01133, allocations: 134.1 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01133, allocations: 0 / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.01149, allocations: 96.14 kB / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01149, allocations: 0 / 333.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.0115, allocations: 12 kB / 333.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.0115, allocations: 4 kB / 333.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01151, allocations: 3.984 kB / 333.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.01164, allocations: 207.4 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.01166, allocations: 11.89 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.01167, allocations: 8 kB / 333.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.01171, allocations: 4 kB / 333.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.01174, allocations: 19.95 kB / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.01174, allocations: 4 kB / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.615e-05/0.01176, allocations: 16.84 kB / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01176, allocations: 0 / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000164/0.01192, allocations: 55.84 kB / 333.7 MB, free: 15 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 8.586e-05/0.01201, allocations: 84.3 kB / 333.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.01211, allocations: 89.22 kB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01211, allocations: 0 / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.01216, allocations: 65.19 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.01233, allocations: 21.08 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.01283, allocations: 437.5 kB / 334.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.01288, allocations: 79.77 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.242e-05/0.01294, allocations: 21.47 kB / 334.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.01301, allocations: 75.34 kB / 334.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01301, allocations: 0 / 334.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of Templates: time 0.002959/0.01597, allocations: 1.091 MB / 335.6 MB, free: 13.02 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: 3.216754269320518]