Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001685/0.001685, allocations: 85.17 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00184/0.00184, allocations: 164.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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.454/1.454, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1977/0.1977, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.633e-05, allocations: 6.219 kB / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3516/0.3516, allocations: 119.7 MB / 0.5467 GB, free: 2.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00522/0.3568, allocations: 4.24 MB / 0.5509 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3569, allocations: 4 kB / 0.5509 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.3573, allocations: 55.61 kB / 0.5509 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.3591, allocations: 0.7806 MB / 0.5517 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.3595, allocations: 159 kB / 0.5518 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.36, allocations: 389.8 kB / 0.5522 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.3601, allocations: 9.812 kB / 0.5522 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.3603, allocations: 203.4 kB / 0.5524 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.3607, allocations: 175.6 kB / 0.5526 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.3607, allocations: 8 kB / 0.5526 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3619, allocations: 0.6121 MB / 0.5532 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.362, allocations: 55.73 kB / 0.5532 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3621, allocations: 83.77 kB / 0.5533 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.3629, allocations: 494.6 kB / 0.5538 GB, free: 11.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3629, allocations: 0 / 0.5538 GB, free: 11.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.3629, allocations: 4 kB / 0.5538 GB, free: 11.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3629, allocations: 0 / 0.5538 GB, free: 11.04 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001116/0.364, allocations: 0.5323 MB / 0.5543 GB, free: 10.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3641, allocations: 8.031 kB / 0.5543 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.3642, allocations: 24.84 kB / 0.5543 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3645, allocations: 178.7 kB / 0.5545 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.3647, allocations: 226.7 kB / 0.5547 GB, free: 9.973 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.3647, allocations: 20.38 kB / 0.5547 GB, free: 9.953 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.3654, allocations: 0.5025 MB / 0.5552 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3654, allocations: 4.375 kB / 0.5552 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.3654, allocations: 15.94 kB / 0.5553 GB, free: 9.363 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3655, allocations: 7.984 kB / 0.5553 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.3663, allocations: 0.7198 MB / 0.556 GB, free: 8.637 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3676, allocations: 0.9649 MB / 0.5569 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/0.368, allocations: 155.8 kB / 0.5571 GB, free: 7.457 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.3681, allocations: 85.42 kB / 0.5571 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/0.3696, allocations: 0.688 MB / 0.5578 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3697, allocations: 34.55 kB / 0.5578 GB, free: 6.621 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.3697, allocations: 11.94 kB / 0.5579 GB, free: 6.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007541/0.3704, allocations: 220.7 kB / 0.5581 GB, free: 6.391 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.3705, allocations: 55.41 kB / 0.5581 GB, free: 6.324 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.3707, allocations: 228.6 kB / 0.5583 GB, free: 6.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3707, allocations: 29.7 kB / 0.5584 GB, free: 6.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3709, allocations: 219.5 kB / 0.5586 GB, free: 5.84 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.3709, allocations: 55.53 kB / 0.5586 GB, free: 5.785 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.371, allocations: 82.09 kB / 0.5587 GB, free: 5.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3712, allocations: 338.8 kB / 0.559 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.3713, allocations: 48.97 kB / 0.5591 GB, free: 5.312 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.3716, allocations: 321.8 kB / 0.5594 GB, free: 4.863 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.3721, allocations: 418.7 kB / 0.5598 GB, free: 4.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3721, allocations: 4 kB / 0.5598 GB, free: 4.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005983/0.3727, allocations: 377.7 kB / 0.5601 GB, free: 3.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3727, allocations: 8 kB / 0.5602 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3727, allocations: 12 kB / 0.5602 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3728, allocations: 12 kB / 0.5602 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.3731, allocations: 107.8 kB / 0.5603 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.3731, allocations: 19.94 kB / 0.5603 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3733, allocations: 16 kB / 0.5603 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.3734, allocations: 31.98 kB / 0.5603 GB, free: 3.742 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001339/0.3735, allocations: 149.7 kB / 0.5605 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.3736, allocations: 23.91 kB / 0.5605 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.3739, allocations: 155.7 kB / 0.5607 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3739, allocations: 4 kB / 0.5607 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3739, allocations: 0 / 0.5607 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3739, allocations: 0 / 0.5607 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005372/0.3744, allocations: 386.2 kB / 0.561 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3744, allocations: 0 / 0.561 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.3746, allocations: 35.91 kB / 0.5611 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3746, allocations: 0 / 0.5611 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3746, allocations: 8 kB / 0.5611 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3746, allocations: 0 / 0.5611 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3746, allocations: 4.75 kB / 0.5611 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3749, allocations: 217.1 kB / 0.5613 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.375, allocations: 23.89 kB / 0.5613 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.375, allocations: 8.062 kB / 0.5613 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.3752, allocations: 7.984 kB / 0.5613 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.3752, allocations: 18.17 kB / 0.5613 GB, free: 2.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.3753, allocations: 15.98 kB / 0.5614 GB, free: 2.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.3754, allocations: 145.2 kB / 0.5615 GB, free: 2.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3754, allocations: 0 / 0.5615 GB, free: 2.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.3759, allocations: 99.91 kB / 0.5616 GB, free: 2.395 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * 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.000287/0.3762, allocations: 167 kB / 0.5617 GB, free: 2.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3765, allocations: 172.4 kB / 0.5619 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3765, allocations: 0 / 0.5619 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.3766, allocations: 37.55 kB / 0.5619 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.377, allocations: 46.31 kB / 0.562 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3782, allocations: 477.9 kB / 0.5624 GB, free: 1.477 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3783, allocations: 113.2 kB / 0.5626 GB, free: 1.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.3785, allocations: 58.92 kB / 0.5626 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.3786, allocations: 28.5 kB / 0.5626 GB, free: 1.258 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3786, allocations: 3.938 kB / 0.5626 GB, free: 1.254 MB / 462.1 MB Notification: Performance of Templates: time 0.007675/0.3862, allocations: 3.185 MB / 0.5658 GB, free: 14.14 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.070656195282936]