Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002173/0.002173, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.598/1.598, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4032/0.4032, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 377.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.436e-05/4.7e-05, allocations: 2.312 kB / 377.3 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01879/0.01884, allocations: 11.24 MB / 388.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.03565, allocations: 11.73 MB / 400.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.03587, allocations: 4 kB / 400.2 MB, free: 11.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.03622, allocations: 63.58 kB / 400.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01217/0.04839, allocations: 3.177 MB / 403.5 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.04898, allocations: 147.7 kB / 403.6 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007558/0.05654, allocations: 4.013 MB / 407.6 MB, free: 4.391 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.05661, allocations: 20.58 kB / 407.6 MB, free: 4.367 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.05693, allocations: 195.5 kB / 407.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01278/0.06971, allocations: 7.312 MB / 415.1 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.494e-05/0.06979, allocations: 12 kB / 415.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00568/0.07547, allocations: 2.032 MB / 417.2 MB, free: 10.81 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.07559, allocations: 47.81 kB / 417.2 MB, free: 10.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.07579, allocations: 91.77 kB / 417.3 MB, free: 10.67 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005494/0.08129, allocations: 1.777 MB / 419.1 MB, free: 8.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.0813, allocations: 4 kB / 419.1 MB, free: 8.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.0813, allocations: 0 / 419.1 MB, free: 8.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.08131, allocations: 4 kB / 419.1 MB, free: 8.883 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.002514/0.08382, allocations: 0.9657 MB / 420.1 MB, free: 7.879 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.08386, allocations: 8.031 kB / 420.1 MB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007581/0.08462, allocations: 148.3 kB / 420.2 MB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.08498, allocations: 204.1 kB / 420.4 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.08513, allocations: 29.02 kB / 420.5 MB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.08518, allocations: 28.38 kB / 420.5 MB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.08626, allocations: 492 kB / 421 MB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.08627, allocations: 4.125 kB / 421 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.08632, allocations: 20.12 kB / 421 MB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.08633, allocations: 8 kB / 421 MB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.08745, allocations: 0.5599 MB / 421.6 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008059/0.09551, allocations: 3.23 MB / 424.8 MB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.09618, allocations: 171.6 kB / 425 MB, free: 2.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.0963, allocations: 60.36 kB / 425 MB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02651/0.1228, allocations: 7.806 MB / 432.8 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008289/0.1236, allocations: 375.7 kB / 433.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.1236, allocations: 0 / 433.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001532/0.1252, allocations: 478.1 kB / 433.7 MB, free: 10 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003275/0.1255, allocations: 478.6 kB / 434.1 MB, free: 9.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1258, allocations: 266.1 kB / 434.4 MB, free: 9.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1258, allocations: 29.7 kB / 434.4 MB, free: 9.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.126, allocations: 238.9 kB / 434.6 MB, free: 8.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.1262, allocations: 107.1 kB / 434.7 MB, free: 8.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.1264, allocations: 103.8 kB / 434.9 MB, free: 8.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.1266, allocations: 0.4962 MB / 435.3 MB, free: 8.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1268, allocations: 69.3 kB / 435.4 MB, free: 8.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.1273, allocations: 425.7 kB / 435.8 MB, free: 7.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.128, allocations: 0.5226 MB / 436.4 MB, free: 6.812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.128, allocations: 4 kB / 436.4 MB, free: 6.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007955/0.1288, allocations: 424.9 kB / 436.8 MB, free: 6.387 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1288, allocations: 12 kB / 436.8 MB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.1289, allocations: 8 kB / 436.8 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/0.1289, allocations: 12.81 kB / 436.8 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.1292, allocations: 107.8 kB / 436.9 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.527e-05/0.1293, allocations: 23.92 kB / 436.9 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.1295, allocations: 51.62 kB / 437 MB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.1296, allocations: 28 kB / 437 MB, free: 6.148 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.000217/0.1298, allocations: 204.3 kB / 437.2 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1299, allocations: 39.84 kB / 437.2 MB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.131, allocations: 0.6457 MB / 437.9 MB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.131, allocations: 7.984 kB / 437.9 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.131, allocations: 0 / 437.9 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.131, allocations: 4 kB / 437.9 MB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.1321, allocations: 0.7809 MB / 438.7 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1321, allocations: 3.938 kB / 438.7 MB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1323, allocations: 39.91 kB / 438.7 MB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.1323, allocations: 4 kB / 438.7 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1323, allocations: 4 kB / 438.7 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.1323, allocations: 4 kB / 438.7 MB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1323, allocations: 4 kB / 438.7 MB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.1329, allocations: 444.3 kB / 439.2 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.1329, allocations: 23.83 kB / 439.2 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.133, allocations: 63.55 kB / 439.3 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.1332, allocations: 8 kB / 439.3 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.1333, allocations: 19.91 kB / 439.3 MB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.1333, allocations: 12 kB / 439.3 MB, free: 3.684 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004306/0.1337, allocations: 350.8 kB / 439.6 MB, free: 3.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1337, allocations: 0 / 439.6 MB, free: 3.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001508/0.1352, allocations: 422.6 kB / 440.1 MB, free: 2.926 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.001491/0.1367, allocations: 0.6813 MB / 440.7 MB, free: 2.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.1372, allocations: 245.5 kB / 441 MB, free: 1.992 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1372, allocations: 4.062 kB / 441 MB, free: 1.988 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1373, allocations: 75.53 kB / 441.1 MB, free: 1.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.1382, allocations: 150.4 kB / 441.2 MB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.44/1.578, allocations: 0.579 GB / 1.01 GB, free: 66.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/1.578, allocations: 211.1 kB / 1.01 GB, free: 66.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004385/1.579, allocations: 160.1 kB / 1.01 GB, free: 66.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.018e-05/1.579, allocations: 40.48 kB / 1.01 GB, free: 66.42 MB / 442.7 MB Notification: Performance of SimCode: time 2.224e-06/1.579, allocations: 4 kB / 1.01 GB, free: 66.42 MB / 442.7 MB Notification: Performance of Templates: time 0.01931/1.598, allocations: 14.6 MB / 1.025 GB, free: 52.01 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.394729924038984]