Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.0009452/0.0009452, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001119/0.001119, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9691/0.9691, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.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.2798/0.2798, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.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.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.923e-05, allocations: 2.312 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01057/0.0106, allocations: 11.26 MB / 334.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.02078, allocations: 11.73 MB / 346.3 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.02098, allocations: 0 / 346.3 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004159/0.02139, allocations: 83.44 kB / 346.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00844/0.02983, allocations: 3.236 MB / 349.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.03018, allocations: 163.6 kB / 349.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003633/0.03381, allocations: 4.019 MB / 353.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.104e-05/0.03387, allocations: 22.52 kB / 353.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.03408, allocations: 203.5 kB / 354 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006174/0.04026, allocations: 7.293 MB / 361.3 MB, free: 3.523 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.04031, allocations: 8 kB / 361.3 MB, free: 3.516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006722/0.04704, allocations: 2.013 MB / 363.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.04719, allocations: 51.75 kB / 363.3 MB, free: 1.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.04737, allocations: 95.77 kB / 363.4 MB, free: 1.355 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.05186, allocations: 1.757 MB / 365.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.05187, allocations: 0 / 365.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.05187, allocations: 0 / 365.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.05188, allocations: 0 / 365.2 MB, free: 15.59 MB / 346.7 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.001931/0.05381, allocations: 0.8644 MB / 366.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.05384, allocations: 8.031 kB / 366.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.05426, allocations: 152.4 kB / 366.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.05445, allocations: 177.4 kB / 366.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.05447, allocations: 21.03 kB / 366.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.0545, allocations: 28.38 kB / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.05496, allocations: 433.3 kB / 366.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.05497, allocations: 192 / 366.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.055, allocations: 16.12 kB / 366.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.055, allocations: 8 kB / 366.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.05549, allocations: 391.7 kB / 367.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.05897, allocations: 2.587 MB / 369.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.05928, allocations: 163.3 kB / 370 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.05933, allocations: 49.39 kB / 370.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03086/0.09019, allocations: 19.69 MB / 389.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/0.0907, allocations: 327.3 kB / 390.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.414e-06/0.0907, allocations: 0 / 390.1 MB, free: 6.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009739/0.09168, allocations: 0.5058 MB / 390.6 MB, free: 5.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.09184, allocations: 486.6 kB / 391.1 MB, free: 5.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.09194, allocations: 173.6 kB / 391.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.09197, allocations: 29.7 kB / 391.3 MB, free: 5.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.09204, allocations: 160.4 kB / 391.4 MB, free: 4.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.0921, allocations: 134.8 kB / 391.5 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.09217, allocations: 82.11 kB / 391.6 MB, free: 4.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.09227, allocations: 338.7 kB / 392 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.09231, allocations: 40.97 kB / 392 MB, free: 4.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.09248, allocations: 277.5 kB / 392.3 MB, free: 3.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.09277, allocations: 395.7 kB / 392.6 MB, free: 3.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.09277, allocations: 4 kB / 392.7 MB, free: 3.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003172/0.09309, allocations: 310.2 kB / 393 MB, free: 3.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.09311, allocations: 14.33 kB / 393 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.09313, allocations: 8 kB / 393 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/0.09366, allocations: 124.7 kB / 393.1 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.09383, allocations: 96.23 kB / 393.2 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002966/0.09412, allocations: 0.6132 MB / 393.8 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.09425, allocations: 35.73 kB / 393.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.09429, allocations: 31.98 kB / 393.9 MB, free: 2.227 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.0944, allocations: 148.4 kB / 394 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.09445, allocations: 35.91 kB / 394.1 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.09509, allocations: 0.6401 MB / 394.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.0951, allocations: 8 kB / 394.7 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.0951, allocations: 224 / 394.7 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.09511, allocations: 8 kB / 394.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.09574, allocations: 0.6689 MB / 395.4 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.09575, allocations: 7.938 kB / 395.4 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.09584, allocations: 43.92 kB / 395.4 MB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004039/0.09624, allocations: 120.7 kB / 395.5 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.09625, allocations: 8 kB / 395.6 MB, free: 464 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002598/0.09651, allocations: 0.5978 MB / 396.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.09652, allocations: 0 / 396.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.09678, allocations: 396.8 kB / 396.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.09681, allocations: 27.78 kB / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.09685, allocations: 51.55 kB / 396.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.09696, allocations: 12 kB / 396.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.09699, allocations: 23.84 kB / 396.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.09701, allocations: 20.05 kB / 396.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.09713, allocations: 152.7 kB / 396.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.09713, allocations: 0 / 396.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001061/0.09819, allocations: 438.6 kB / 397.2 MB, free: 14.68 MB / 378.7 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/0.09919, allocations: 0.6998 MB / 397.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.09947, allocations: 220.7 kB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.09948, allocations: 4 kB / 398.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.09956, allocations: 93.28 kB / 398.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.1, allocations: 159.1 kB / 398.4 MB, free: 13.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8002/0.9002, allocations: 485.2 MB / 0.863 GB, free: 84.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.9002, allocations: 109.1 kB / 0.8631 GB, free: 83.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003225/0.9006, allocations: 159.6 kB / 0.8632 GB, free: 83.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.9007, allocations: 137.4 kB / 0.8633 GB, free: 83.68 MB / 458.7 MB Notification: Performance of SimCode: time 2.024e-06/0.9007, allocations: 0 / 0.8633 GB, free: 83.68 MB / 458.7 MB Notification: Performance of Templates: time 0.0167/0.9174, allocations: 17.38 MB / 0.8803 GB, free: 66.55 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.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: 4.766263208817691]