Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.001578/0.001578, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001517/0.001517, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.449/1.449, allocations: 177.2 MB / 204.9 MB, free: 8.961 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.2045/0.2045, allocations: 32.8 MB / 294.1 MB, free: 52 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.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 70.39 kB / 440.6 MB, free: 9.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3489, allocations: 65.44 MB / 0.4942 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.009773/0.3586, allocations: 10.17 MB / 0.5041 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00897/0.3676, allocations: 10.29 MB / 0.5142 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.3678, allocations: 3.062 kB / 0.5142 GB, free: 17.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.3681, allocations: 64.64 kB / 0.5142 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009683/0.3777, allocations: 3.097 MB / 0.5173 GB, free: 16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.3781, allocations: 160.6 kB / 0.5174 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005902/0.384, allocations: 3.99 MB / 0.5213 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.79e-05/0.3841, allocations: 19.72 kB / 0.5213 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.3843, allocations: 140.9 kB / 0.5215 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.3945, allocations: 7.31 MB / 0.5286 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/0.3946, allocations: 13.06 kB / 0.5286 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005116/0.3997, allocations: 2.022 MB / 0.5306 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.3998, allocations: 47.55 kB / 0.5306 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.4, allocations: 111.3 kB / 0.5307 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.4035, allocations: 1.532 MB / 0.5322 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4035, allocations: 0 / 0.5322 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4035, allocations: 0 / 0.5322 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4035, allocations: 0 / 0.5322 GB, free: 11.98 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002127/0.4056, allocations: 0.8711 MB / 0.5331 GB, free: 11.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4057, allocations: 9.625 kB / 0.5331 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.4063, allocations: 78.12 kB / 0.5332 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.4066, allocations: 187.4 kB / 0.5334 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4067, allocations: 28.03 kB / 0.5334 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.4067, allocations: 25.94 kB / 0.5334 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009968/0.4077, allocations: 0.5328 MB / 0.5339 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4077, allocations: 1.094 kB / 0.5339 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.4077, allocations: 11.59 kB / 0.5339 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4078, allocations: 12.14 kB / 0.534 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.4089, allocations: 0.6783 MB / 0.5346 GB, free: 10.76 MB / 446.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.006924/0.4158, allocations: 2.846 MB / 0.5374 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.4164, allocations: 154.6 kB / 0.5375 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.4165, allocations: 50.62 kB / 0.5376 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02314/0.4396, allocations: 7.71 MB / 0.5451 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006231/0.4402, allocations: 317.8 kB / 0.5454 GB, free: 4.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.374e-06/0.4402, allocations: 7.984 kB / 0.5454 GB, free: 4.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001267/0.4415, allocations: 434.5 kB / 0.5458 GB, free: 3.863 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.4416, allocations: 482.6 kB / 0.5463 GB, free: 3.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4417, allocations: 194.3 kB / 0.5465 GB, free: 3.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4418, allocations: 33.7 kB / 0.5465 GB, free: 3.043 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.4418, allocations: 196 kB / 0.5467 GB, free: 2.848 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.4419, allocations: 99.17 kB / 0.5468 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.4419, allocations: 94.14 kB / 0.5469 GB, free: 2.652 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.442, allocations: 338.7 kB / 0.5472 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.4421, allocations: 60.95 kB / 0.5473 GB, free: 2.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.4423, allocations: 311.4 kB / 0.5476 GB, free: 1.828 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.4426, allocations: 421 kB / 0.548 GB, free: 1.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4426, allocations: 4 kB / 0.548 GB, free: 1.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005334/0.4431, allocations: 405.8 kB / 0.5484 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4432, allocations: 8 kB / 0.5484 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4432, allocations: 12 kB / 0.5484 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4432, allocations: 12 kB / 0.5484 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.4435, allocations: 107.8 kB / 0.5485 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.4435, allocations: 19.92 kB / 0.5485 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.4437, allocations: 47.67 kB / 0.5486 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.4438, allocations: 28 kB / 0.5486 GB, free: 0.6602 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 0.000102/0.4439, allocations: 162.4 kB / 0.5487 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.444, allocations: 31.86 kB / 0.5488 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009122/0.4449, allocations: 0.8428 MB / 0.5496 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4449, allocations: 4 kB / 0.5496 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4449, allocations: 4 kB / 0.5496 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4449, allocations: 3.984 kB / 0.5496 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.446, allocations: 0.8588 MB / 0.5504 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.446, allocations: 7.984 kB / 0.5505 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.4461, allocations: 35.92 kB / 0.5505 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.4461, allocations: 4.312 kB / 0.5505 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.4461, allocations: 8 kB / 0.5505 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.4461, allocations: 7.938 kB / 0.5505 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4461, allocations: 7.938 kB / 0.5505 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.4466, allocations: 376.2 kB / 0.5509 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.4466, allocations: 31.73 kB / 0.5509 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/0.4467, allocations: 43.61 kB / 0.5509 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.4469, allocations: 15.94 kB / 0.551 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.447, allocations: 19.97 kB / 0.551 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.447, allocations: 8 kB / 0.551 GB, free: 14.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003367/0.4473, allocations: 298.9 kB / 0.5513 GB, free: 13.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4473, allocations: 0 / 0.5513 GB, free: 13.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001579/0.4489, allocations: 430.5 kB / 0.5517 GB, free: 13.35 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001313/0.4502, allocations: 0.6341 MB / 0.5523 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004173/0.4506, allocations: 229.1 kB / 0.5525 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4506, allocations: 0 / 0.5525 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.4507, allocations: 84.34 kB / 0.5526 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/0.4515, allocations: 117.1 kB / 0.5527 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.245/1.696, allocations: 0.579 GB / 1.132 GB, free: 41.62 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/1.696, allocations: 207.1 kB / 1.132 GB, free: 41.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004201/1.697, allocations: 165.4 kB / 1.132 GB, free: 41.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/1.697, allocations: 40.48 kB / 1.132 GB, free: 41.23 MB / 0.6231 GB Notification: Performance of SimCode: time 7.82e-07/1.697, allocations: 0 / 1.132 GB, free: 41.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.02016/1.717, allocations: 14.43 MB / 1.146 GB, free: 26.95 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.279560217051767]