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.0008327/0.0008327, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001205/0.002038, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008562/0.0008562, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002087, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.069/1.069, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1271/1.196, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.3316/0.3316, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02912/0.3607, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.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 2.024e-06/2.024e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.136e-05, allocations: 4.562 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003314/0.003345, allocations: 2.147 MB / 292.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.005522, allocations: 1.398 MB / 294.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.005675, allocations: 4 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.275e-05/0.005738, allocations: 23.72 kB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.005858, allocations: 39.59 kB / 294.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.006355, allocations: 203 kB / 294.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.006569, allocations: 172.1 kB / 294.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.006798, allocations: 82.75 kB / 294.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.007061, allocations: 124.3 kB / 294.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.958e-05/0.007161, allocations: 63.72 kB / 294.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.007188, allocations: 16 kB / 294.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.007483, allocations: 163.7 kB / 295 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.007519, allocations: 35.88 kB / 295.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.007572, allocations: 51.88 kB / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.007953, allocations: 262.8 kB / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.048e-05/0.007974, allocations: 0 / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007975, allocations: 0 / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.007997, allocations: 3.938 kB / 295.4 MB, free: 3.512 MB / 282.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.0006283/0.008626, allocations: 484.5 kB / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.008669, allocations: 12.61 kB / 295.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/0.009303, allocations: 261 kB / 296.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.009507, allocations: 141.4 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.00953, allocations: 21.03 kB / 296.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.009553, allocations: 24.38 kB / 296.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.009758, allocations: 167.4 kB / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.009768, allocations: 192 / 296.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.009783, allocations: 16.31 kB / 296.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.009796, allocations: 11.94 kB / 296.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.009873, allocations: 72.47 kB / 296.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.01043, allocations: 421.1 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.01075, allocations: 167 kB / 297.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.01079, allocations: 45.31 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.01082, allocations: 4.234 kB / 297.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.01084, allocations: 34.8 kB / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.174e-06/0.01085, allocations: 0 / 297.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002017/0.01105, allocations: 130.7 kB / 297.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.01108, allocations: 55.41 kB / 297.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.01115, allocations: 110.6 kB / 297.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.01116, allocations: 33.7 kB / 297.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.01122, allocations: 132.7 kB / 297.7 MB, free: 1.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.01128, allocations: 95.16 kB / 297.8 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.01133, allocations: 45.69 kB / 297.8 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.01142, allocations: 322.8 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.01145, allocations: 19.98 kB / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.01148, allocations: 23.97 kB / 298.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.071e-05/0.01155, allocations: 66.2 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01155, allocations: 0 / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001135/0.01167, allocations: 117.5 kB / 298.3 MB, free: 380 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.01169, allocations: 4 kB / 298.3 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01169, allocations: 0 / 298.3 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.0117, allocations: 4 kB / 298.4 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.01204, allocations: 135.8 kB / 298.5 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01204, allocations: 3.938 kB / 298.5 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.01208, allocations: 19.89 kB / 298.5 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.01209, allocations: 4 kB / 298.5 MB, free: 208 kB / 282.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.501e-05/0.01217, allocations: 125.8 kB / 298.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.0122, allocations: 12 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.01224, allocations: 29.86 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01224, allocations: 0 / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01224, allocations: 7.938 kB / 298.7 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.01225, allocations: 7.938 kB / 298.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.01242, allocations: 125.7 kB / 298.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01242, allocations: 3.938 kB / 298.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.0127, allocations: 135.9 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.029e-05/0.01272, allocations: 19.88 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01272, allocations: 0 / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01273, allocations: 4 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01274, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.01274, allocations: 4 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.01291, allocations: 215.3 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.01293, allocations: 4 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-05/0.01298, allocations: 4 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.01302, allocations: 15.97 kB / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01303, allocations: 7.984 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.01305, allocations: 20.84 kB / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01305, allocations: 0 / 299.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.01322, allocations: 55.84 kB / 299.3 MB, free: 15.38 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 0.0001161/0.01334, allocations: 84.3 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.01347, allocations: 93.19 kB / 299.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.01348, allocations: 4 kB / 299.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.01352, allocations: 52.77 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01374, allocations: 27.98 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.01615, allocations: 462.8 kB / 300 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.098e-05/0.01622, allocations: 75.84 kB / 300.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.739e-05/0.01629, allocations: 21.47 kB / 300.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.01637, allocations: 79.38 kB / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01637, allocations: 0 / 300.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of Templates: time 0.003516/0.01989, allocations: 1.114 MB / 301.3 MB, free: 13.35 MB / 298.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 -emit_protected -ignoreHideResult -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: 3.102251436561346]