Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001234/0.001234, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001565/0.001565, allocations: 211.9 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 207.7 MB / 234.6 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2327/0.2327, allocations: 44.26 MB / 331.1 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002673/0.002673, allocations: 75.83 kB / 468.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1352, allocations: 61.04 MB / 0.5174 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01388/0.1491, allocations: 10.12 MB / 0.5273 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2982/0.4474, allocations: 12.58 MB / 0.5396 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.4476, allocations: 1.875 kB / 0.5396 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.448, allocations: 67.83 kB / 0.5397 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.4597, allocations: 3.101 MB / 0.5427 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.4602, allocations: 151.5 kB / 0.5428 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008071/0.4682, allocations: 3.966 MB / 0.5467 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.4684, allocations: 14.09 kB / 0.5467 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.4687, allocations: 148 kB / 0.5469 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.4814, allocations: 7.243 MB / 0.5539 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.4815, allocations: 9.406 kB / 0.5539 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00638/0.4878, allocations: 2.009 MB / 0.5559 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.488, allocations: 47.89 kB / 0.5559 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.4883, allocations: 112.2 kB / 0.5561 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006401/0.4947, allocations: 1.53 MB / 0.5575 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.4947, allocations: 7.688 kB / 0.5576 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4947, allocations: 3.141 kB / 0.5576 GB, free: 9.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4948, allocations: 0 / 0.5576 GB, free: 9.117 MB / 414.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.002842/0.4976, allocations: 0.8614 MB / 0.5584 GB, free: 8.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4977, allocations: 13.66 kB / 0.5584 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005898/0.4982, allocations: 77.94 kB / 0.5585 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.4986, allocations: 192.5 kB / 0.5587 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.4987, allocations: 23.5 kB / 0.5587 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.4987, allocations: 28.22 kB / 0.5587 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009857/0.4997, allocations: 0.5305 MB / 0.5592 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4997, allocations: 3.188 kB / 0.5592 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.4997, allocations: 13.09 kB / 0.5593 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4997, allocations: 8.5 kB / 0.5593 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.5009, allocations: 0.6834 MB / 0.5599 GB, free: 8.293 MB / 414.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.006739/0.5077, allocations: 2.841 MB / 0.5627 GB, free: 7.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.5083, allocations: 153.5 kB / 0.5629 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.5084, allocations: 58.17 kB / 0.5629 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02348/0.5318, allocations: 7.709 MB / 0.5704 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006641/0.5325, allocations: 318.7 kB / 0.5707 GB, free: 3.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/0.5325, allocations: 0 / 0.5707 GB, free: 3.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001325/0.5338, allocations: 444.1 kB / 0.5712 GB, free: 3.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.534, allocations: 485.4 kB / 0.5716 GB, free: 2.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.5341, allocations: 192.1 kB / 0.5718 GB, free: 2.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.5342, allocations: 33.64 kB / 0.5718 GB, free: 2.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.5342, allocations: 193.4 kB / 0.572 GB, free: 2.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.5343, allocations: 108.1 kB / 0.5721 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.5344, allocations: 90.55 kB / 0.5722 GB, free: 2.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.5345, allocations: 336.3 kB / 0.5725 GB, free: 2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/0.5346, allocations: 60.55 kB / 0.5726 GB, free: 1.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.5349, allocations: 313.6 kB / 0.5729 GB, free: 1.609 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.5353, allocations: 419.5 kB / 0.5733 GB, free: 1.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5353, allocations: 6.844 kB / 0.5733 GB, free: 1.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006845/0.536, allocations: 395.3 kB / 0.5737 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.536, allocations: 12.78 kB / 0.5737 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.536, allocations: 9.094 kB / 0.5737 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-05/0.5361, allocations: 11.72 kB / 0.5737 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.5364, allocations: 112.3 kB / 0.5738 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.5364, allocations: 22.92 kB / 0.5738 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.5367, allocations: 52.12 kB / 0.5739 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.5368, allocations: 29.19 kB / 0.5739 GB, free: 0.9023 MB / 414.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.0001383/0.5369, allocations: 164.9 kB / 0.5741 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.537, allocations: 27.03 kB / 0.5741 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009103/0.5379, allocations: 0.8475 MB / 0.5749 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.5379, allocations: 3.812 kB / 0.5749 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5379, allocations: 3.312 kB / 0.5749 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5379, allocations: 2.562 kB / 0.5749 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.539, allocations: 0.8732 MB / 0.5758 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.539, allocations: 2.656 kB / 0.5758 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.5391, allocations: 32.25 kB / 0.5758 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5391, allocations: 2.75 kB / 0.5758 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5392, allocations: 8 kB / 0.5758 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.5392, allocations: 8.031 kB / 0.5758 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5392, allocations: 6.625 kB / 0.5758 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.5396, allocations: 378.2 kB / 0.5762 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.5397, allocations: 19.53 kB / 0.5762 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.5398, allocations: 54.52 kB / 0.5763 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.54, allocations: 9.625 kB / 0.5763 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.54, allocations: 25.12 kB / 0.5763 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.54, allocations: 12.84 kB / 0.5763 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.5404, allocations: 293.1 kB / 0.5766 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5404, allocations: 6.469 kB / 0.5766 GB, free: 14.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001841/0.5422, allocations: 424.1 kB / 0.577 GB, free: 14.81 MB / 430.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.001407/0.5436, allocations: 0.6321 MB / 0.5776 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.544, allocations: 221.3 kB / 0.5778 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.544, allocations: 10.72 kB / 0.5778 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.5441, allocations: 77.66 kB / 0.5779 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.5449, allocations: 112.5 kB / 0.578 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.365/1.91, allocations: 0.5791 GB / 1.157 GB, free: 82.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/1.91, allocations: 204.9 kB / 1.157 GB, free: 82.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/1.91, allocations: 43.42 kB / 1.157 GB, free: 82.13 MB / 0.5919 GB Notification: Performance of SimCode: time 1.402e-06/1.91, allocations: 0 / 1.157 GB, free: 82.13 MB / 0.5919 GB Notification: Performance of Templates: time 0.01412/1.924, allocations: 11.09 MB / 1.168 GB, free: 71.14 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 11.194638804066926]