Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009648/0.0009648, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00101/0.00101, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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 1.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.2889/0.2889, allocations: 34.26 MB / 295.7 MB, free: 0.7266 MB / 266.7 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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.969e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01046/0.01049, allocations: 11.3 MB / 389.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009027/0.01951, allocations: 11.76 MB / 401.1 MB, free: 11.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.01966, allocations: 7.938 kB / 401.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.02, allocations: 67.52 kB / 401.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007908/0.02791, allocations: 3.209 MB / 404.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.02825, allocations: 155.7 kB / 404.6 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.03215, allocations: 4.044 MB / 408.6 MB, free: 3.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.0322, allocations: 16.59 kB / 408.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.03243, allocations: 203.5 kB / 408.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006861/0.03929, allocations: 7.328 MB / 416.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.333e-05/0.03936, allocations: 8 kB / 416.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.04372, allocations: 2.04 MB / 418.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.04382, allocations: 47.81 kB / 418.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.04399, allocations: 95.77 kB / 418.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.04775, allocations: 1.746 MB / 420.1 MB, free: 8.473 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.04776, allocations: 0 / 420.1 MB, free: 8.473 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04776, allocations: 0 / 420.1 MB, free: 8.473 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.04777, allocations: 7.938 kB / 420.1 MB, free: 8.465 MB / 394.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.00173/0.0495, allocations: 0.9657 MB / 421.1 MB, free: 7.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.04954, allocations: 8.031 kB / 421.1 MB, free: 7.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.05002, allocations: 152.3 kB / 421.2 MB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.05028, allocations: 196.2 kB / 421.4 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.0503, allocations: 17.03 kB / 421.4 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.05034, allocations: 32.38 kB / 421.5 MB, free: 7.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.05104, allocations: 471.9 kB / 421.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.05106, allocations: 192 / 421.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.05109, allocations: 20.12 kB / 421.9 MB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.05111, allocations: 11.94 kB / 422 MB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.05171, allocations: 458.4 kB / 422.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.05586, allocations: 3.211 MB / 425.6 MB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.05623, allocations: 163.6 kB / 425.8 MB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.903e-05/0.0563, allocations: 48.36 kB / 425.8 MB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/0.0686, allocations: 7.802 MB / 433.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.06909, allocations: 369.6 kB / 434 MB, free: 10.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.06909, allocations: 0 / 434 MB, free: 10.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008722/0.06996, allocations: 454.1 kB / 434.4 MB, free: 9.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.07011, allocations: 482.6 kB / 434.9 MB, free: 9.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.07027, allocations: 254.2 kB / 435.2 MB, free: 8.957 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.07029, allocations: 29.7 kB / 435.2 MB, free: 8.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.07039, allocations: 250.8 kB / 435.4 MB, free: 8.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.07044, allocations: 99.84 kB / 435.5 MB, free: 8.574 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.07053, allocations: 95.8 kB / 435.6 MB, free: 8.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.07082, allocations: 0.5118 MB / 436.1 MB, free: 7.949 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.07088, allocations: 44.97 kB / 436.2 MB, free: 7.906 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.0711, allocations: 413.7 kB / 436.6 MB, free: 7.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.07145, allocations: 0.507 MB / 437.1 MB, free: 6.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.07146, allocations: 4 kB / 437.1 MB, free: 6.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004258/0.07188, allocations: 384.7 kB / 437.5 MB, free: 6.273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.0719, allocations: 12.94 kB / 437.5 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.07191, allocations: 12 kB / 437.5 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.07194, allocations: 15.98 kB / 437.5 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.07213, allocations: 103.8 kB / 437.6 MB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.07214, allocations: 15.94 kB / 437.6 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.07231, allocations: 51.62 kB / 437.7 MB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.07234, allocations: 31.98 kB / 437.7 MB, free: 6.035 MB / 410.7 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.0001125/0.07246, allocations: 196.3 kB / 437.9 MB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.07252, allocations: 39.89 kB / 437.9 MB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.07311, allocations: 0.649 MB / 438.6 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.07311, allocations: 8 kB / 438.6 MB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.07312, allocations: 0 / 438.6 MB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.07313, allocations: 12.14 kB / 438.6 MB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.07379, allocations: 0.7769 MB / 439.4 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.0738, allocations: 0 / 439.4 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.07386, allocations: 31.92 kB / 439.4 MB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.07386, allocations: 4 kB / 439.4 MB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.07388, allocations: 8 kB / 439.4 MB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.07388, allocations: 7.984 kB / 439.4 MB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.07389, allocations: 4 kB / 439.4 MB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.07419, allocations: 432.4 kB / 439.9 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.07421, allocations: 23.8 kB / 439.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.07426, allocations: 47.56 kB / 439.9 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.07438, allocations: 15.98 kB / 439.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.07441, allocations: 23.84 kB / 440 MB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.07443, allocations: 12 kB / 440 MB, free: 3.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.07466, allocations: 314.8 kB / 440.3 MB, free: 3.285 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07466, allocations: 4 kB / 440.3 MB, free: 3.281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001323/0.07598, allocations: 422.6 kB / 440.7 MB, free: 2.867 MB / 410.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 (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.001107/0.07709, allocations: 0.6773 MB / 441.4 MB, free: 2.176 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.07741, allocations: 210.6 kB / 441.6 MB, free: 1.969 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.07741, allocations: 8.062 kB / 441.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.07749, allocations: 67.53 kB / 441.7 MB, free: 1.891 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.078, allocations: 157.8 kB / 441.8 MB, free: 1.742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.245/1.323, allocations: 0.5807 GB / 1.012 GB, free: 97.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.458e-05/1.323, allocations: 101.5 kB / 1.012 GB, free: 97.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003732/1.323, allocations: 164.6 kB / 1.012 GB, free: 97.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/1.323, allocations: 41.42 kB / 1.012 GB, free: 97.15 MB / 458.7 MB Notification: Performance of SimCode: time 2.324e-06/1.323, allocations: 0 / 1.012 GB, free: 97.15 MB / 458.7 MB Notification: Performance of Templates: time 0.01585/1.339, allocations: 14.5 MB / 1.027 GB, free: 85.52 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.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: 5.575070175342262]