Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001384/0.001384, allocations: 85.25 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.002426/0.002426, allocations: 168.5 kB / 23.96 MB, free: 4.141 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.539/1.539, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.223/0.223, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.304e-05, allocations: 2.281 kB / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3355/0.3355, allocations: 119.7 MB / 0.5492 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006078/0.3416, allocations: 4.248 MB / 0.5534 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.3417, allocations: 0 / 0.5534 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.3421, allocations: 59.59 kB / 0.5535 GB, free: 9.984 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.3441, allocations: 0.7689 MB / 0.5542 GB, free: 9.211 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.3445, allocations: 164.6 kB / 0.5544 GB, free: 9.059 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.3451, allocations: 393.1 kB / 0.5547 GB, free: 8.676 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.3452, allocations: 5.812 kB / 0.5547 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003724/0.3456, allocations: 211.3 kB / 0.5549 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.3459, allocations: 175.6 kB / 0.5551 GB, free: 8.293 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.346, allocations: 12 kB / 0.5551 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.3473, allocations: 0.6121 MB / 0.5557 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3474, allocations: 47.77 kB / 0.5558 GB, free: 7.621 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.3476, allocations: 83.81 kB / 0.5558 GB, free: 7.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3486, allocations: 498.5 kB / 0.5563 GB, free: 7.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3487, allocations: 0 / 0.5563 GB, free: 7.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3487, allocations: 0 / 0.5563 GB, free: 7.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3487, allocations: 0 / 0.5563 GB, free: 7.051 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.001171/0.3498, allocations: 0.5362 MB / 0.5568 GB, free: 6.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3499, allocations: 9.625 kB / 0.5569 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.35, allocations: 24.84 kB / 0.5569 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.3503, allocations: 173.5 kB / 0.557 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/0.3505, allocations: 234.6 kB / 0.5573 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.3506, allocations: 16.38 kB / 0.5573 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.3512, allocations: 0.4987 MB / 0.5578 GB, free: 5.398 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3512, allocations: 4.375 kB / 0.5578 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.3512, allocations: 11.94 kB / 0.5578 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.3513, allocations: 11.94 kB / 0.5578 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009197/0.3522, allocations: 0.7198 MB / 0.5585 GB, free: 4.652 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.001338/0.3535, allocations: 0.965 MB / 0.5594 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.3539, allocations: 160.6 kB / 0.5596 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.3541, allocations: 85.47 kB / 0.5597 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/0.3556, allocations: 0.6919 MB / 0.5603 GB, free: 2.672 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3557, allocations: 34.55 kB / 0.5604 GB, free: 2.629 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.3557, allocations: 0 / 0.5604 GB, free: 2.629 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007325/0.3564, allocations: 217.1 kB / 0.5606 GB, free: 2.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3565, allocations: 57 kB / 0.5606 GB, free: 2.344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3567, allocations: 223.7 kB / 0.5609 GB, free: 2.117 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.3567, allocations: 33.7 kB / 0.5609 GB, free: 2.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.3569, allocations: 211.5 kB / 0.5611 GB, free: 1.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.3569, allocations: 63.45 kB / 0.5612 GB, free: 1.805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.357, allocations: 86.09 kB / 0.5612 GB, free: 1.715 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3572, allocations: 330.8 kB / 0.5615 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.701e-05/0.3573, allocations: 56.97 kB / 0.5616 GB, free: 1.328 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.3576, allocations: 319.3 kB / 0.5619 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.3581, allocations: 416.3 kB / 0.5623 GB, free: 352 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.3581, allocations: 4 kB / 0.5623 GB, free: 348 kB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006478/0.3588, allocations: 381.4 kB / 0.5627 GB, free: 15.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3588, allocations: 8 kB / 0.5627 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3588, allocations: 12 kB / 0.5627 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.3588, allocations: 12 kB / 0.5627 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.3592, allocations: 105.3 kB / 0.5628 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/0.3592, allocations: 19.92 kB / 0.5628 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.3594, allocations: 23.94 kB / 0.5628 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.3595, allocations: 28.38 kB / 0.5629 GB, free: 15.76 MB / 478.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.0001531/0.3596, allocations: 154.2 kB / 0.563 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.3597, allocations: 19.91 kB / 0.563 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.36, allocations: 151.7 kB / 0.5632 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.36, allocations: 4 kB / 0.5632 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.36, allocations: 4 kB / 0.5632 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.36, allocations: 3.984 kB / 0.5632 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.3606, allocations: 379.7 kB / 0.5636 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3606, allocations: 0 / 0.5636 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3607, allocations: 34.48 kB / 0.5636 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3607, allocations: 0 / 0.5636 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3607, allocations: 8 kB / 0.5636 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3607, allocations: 0 / 0.5636 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3607, allocations: 3.938 kB / 0.5636 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.361, allocations: 224.7 kB / 0.5638 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.3611, allocations: 23.88 kB / 0.5638 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.3611, allocations: 8 kB / 0.5638 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3613, allocations: 4 kB / 0.5638 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.3613, allocations: 19.84 kB / 0.5639 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3614, allocations: 8 kB / 0.5639 GB, free: 14.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3615, allocations: 153.2 kB / 0.564 GB, free: 14.51 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3615, allocations: 0 / 0.564 GB, free: 14.51 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004989/0.362, allocations: 95.88 kB / 0.5641 GB, free: 14.41 MB / 478.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.0003355/0.3623, allocations: 163.1 kB / 0.5643 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.3627, allocations: 173.6 kB / 0.5644 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3627, allocations: 0 / 0.5644 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.3627, allocations: 31.92 kB / 0.5645 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.3632, allocations: 53.5 kB / 0.5645 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008972/0.3641, allocations: 485.9 kB / 0.565 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3642, allocations: 125.1 kB / 0.5651 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.3644, allocations: 58.91 kB / 0.5652 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3645, allocations: 24.5 kB / 0.5652 GB, free: 13.27 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3645, allocations: 0 / 0.5652 GB, free: 13.27 MB / 478.1 MB Notification: Performance of Templates: time 0.007651/0.3721, allocations: 3.164 MB / 0.5683 GB, free: 10.17 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4406297989189625]