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.001809/0.001809, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.002166/0.002166, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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.479/1.479, allocations: 177.1 MB / 204.7 MB, free: 8.934 MB / 190.1 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.2114/0.2114, allocations: 34.25 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 180] 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 0.002293/0.002293, allocations: 83.88 kB / 443.2 MB, free: 6.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2973, allocations: 66.07 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.008725/0.306, allocations: 10.16 MB / 0.5073 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008948/0.315, allocations: 10.3 MB / 0.5173 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.3152, allocations: 2.125 kB / 0.5173 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.3155, allocations: 54 kB / 0.5174 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009635/0.3252, allocations: 3.104 MB / 0.5204 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.3256, allocations: 155.8 kB / 0.5205 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00623/0.3318, allocations: 3.987 MB / 0.5244 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.827e-05/0.3319, allocations: 22.73 kB / 0.5245 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.3321, allocations: 144.6 kB / 0.5246 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01062/0.3427, allocations: 7.306 MB / 0.5317 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.74e-05/0.3428, allocations: 13.06 kB / 0.5317 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00577/0.3486, allocations: 2.022 MB / 0.5337 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3487, allocations: 51.41 kB / 0.5338 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3489, allocations: 104.4 kB / 0.5339 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004117/0.353, allocations: 1.539 MB / 0.5354 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.353, allocations: 1 kB / 0.5354 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.353, allocations: 0 / 0.5354 GB, free: 10.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.353, allocations: 0 / 0.5354 GB, free: 10.31 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.002128/0.3551, allocations: 0.8701 MB / 0.5362 GB, free: 9.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3552, allocations: 15.61 kB / 0.5362 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/0.3558, allocations: 73.58 kB / 0.5363 GB, free: 9.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3561, allocations: 189.2 kB / 0.5365 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.3562, allocations: 28 kB / 0.5365 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.3562, allocations: 25.31 kB / 0.5365 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/0.3571, allocations: 0.5341 MB / 0.5371 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3571, allocations: 0 / 0.5371 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3572, allocations: 12.38 kB / 0.5371 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3572, allocations: 7.125 kB / 0.5371 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3582, allocations: 0.6783 MB / 0.5377 GB, free: 8.84 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.006295/0.3645, allocations: 2.842 MB / 0.5405 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.365, allocations: 156.8 kB / 0.5407 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.282e-05/0.3651, allocations: 54.91 kB / 0.5407 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02312/0.3882, allocations: 7.707 MB / 0.5482 GB, free: 1.117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006256/0.3889, allocations: 321.8 kB / 0.5486 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.973e-06/0.3889, allocations: 4 kB / 0.5486 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001231/0.3901, allocations: 438.5 kB / 0.549 GB, free: 308 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002031/0.3903, allocations: 482.6 kB / 0.5494 GB, free: 15.72 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.3905, allocations: 198.3 kB / 0.5496 GB, free: 15.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3906, allocations: 33.7 kB / 0.5497 GB, free: 15.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.3907, allocations: 184.1 kB / 0.5498 GB, free: 15.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.3908, allocations: 107.1 kB / 0.5499 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3909, allocations: 94.14 kB / 0.55 GB, free: 15.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3911, allocations: 334.8 kB / 0.5503 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3912, allocations: 60.91 kB / 0.5504 GB, free: 14.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.3916, allocations: 315.4 kB / 0.5507 GB, free: 14.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.3922, allocations: 428.9 kB / 0.5511 GB, free: 13.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3922, allocations: 4 kB / 0.5511 GB, free: 13.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007108/0.3929, allocations: 397.5 kB / 0.5515 GB, free: 13.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.393, allocations: 8 kB / 0.5515 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.393, allocations: 8 kB / 0.5515 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.393, allocations: 12 kB / 0.5515 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.3933, allocations: 107.8 kB / 0.5516 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.3934, allocations: 19.92 kB / 0.5516 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.3936, allocations: 47.67 kB / 0.5517 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.3937, allocations: 32 kB / 0.5517 GB, free: 13.09 MB / 462.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.0001702/0.3939, allocations: 161.8 kB / 0.5519 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/0.394, allocations: 35.86 kB / 0.5519 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.3951, allocations: 0.8448 MB / 0.5527 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3951, allocations: 4 kB / 0.5527 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3951, allocations: 4 kB / 0.5527 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3951, allocations: 0 / 0.5527 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3963, allocations: 0.8552 MB / 0.5536 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3963, allocations: 4 kB / 0.5536 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.3964, allocations: 39.91 kB / 0.5536 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3964, allocations: 4.312 kB / 0.5536 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3964, allocations: 8 kB / 0.5536 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3964, allocations: 7.938 kB / 0.5536 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.3964, allocations: 11.92 kB / 0.5536 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.3969, allocations: 375.7 kB / 0.554 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.397, allocations: 31.73 kB / 0.554 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.3971, allocations: 43.61 kB / 0.5541 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3973, allocations: 15.94 kB / 0.5541 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.3973, allocations: 19.97 kB / 0.5541 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3974, allocations: 8 kB / 0.5541 GB, free: 10.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003425/0.3977, allocations: 294.9 kB / 0.5544 GB, free: 10.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3977, allocations: 0 / 0.5544 GB, free: 10.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001771/0.3995, allocations: 434.6 kB / 0.5548 GB, free: 9.777 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.00137/0.4008, allocations: 0.6341 MB / 0.5554 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.4013, allocations: 225.7 kB / 0.5556 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4013, allocations: 0 / 0.5556 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4014, allocations: 76.41 kB / 0.5557 GB, free: 8.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.4022, allocations: 123.4 kB / 0.5558 GB, free: 8.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.232/1.634, allocations: 0.579 GB / 1.135 GB, free: 31.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/1.634, allocations: 203.1 kB / 1.135 GB, free: 31.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004713/1.635, allocations: 171.2 kB / 1.135 GB, free: 31.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/1.635, allocations: 36.48 kB / 1.135 GB, free: 31.46 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/1.635, allocations: 0 / 1.135 GB, free: 31.46 MB / 0.6231 GB Notification: Performance of Templates: time 0.02048/1.655, allocations: 14.42 MB / 1.149 GB, free: 17.18 MB / 0.6231 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/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.069583689095452]