Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001713/0.001713, allocations: 112.5 kB / 20.43 MB, free: 1.469 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.001949/0.001949, allocations: 213 kB / 23.74 MB, free: 4.695 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.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.2345/0.2345, allocations: 46.93 MB / 360.8 MB, free: 4.172 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 83.88 kB / 0.4962 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3321, allocations: 66.09 MB / 0.5608 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01908/0.3512, allocations: 14.03 MB / 0.5745 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03437/0.3856, allocations: 26.78 MB / 0.6006 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.3858, allocations: 0 / 0.6006 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.3862, allocations: 99.33 kB / 0.6007 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02418/0.4104, allocations: 8.561 MB / 0.6091 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.4115, allocations: 357.5 kB / 0.6094 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004396/0.4158, allocations: 2.006 MB / 0.6114 GB, free: 264 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.4159, allocations: 12.59 kB / 0.6114 GB, free: 248 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006239/0.4166, allocations: 274.8 kB / 0.6117 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006589/0.4231, allocations: 3.274 MB / 0.6149 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.4232, allocations: 12 kB / 0.6149 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02482/0.448, allocations: 11.66 MB / 0.6263 GB, free: 0.957 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.4482, allocations: 51.75 kB / 0.6263 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.4484, allocations: 139.3 kB / 0.6264 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0179/0.4663, allocations: 6.778 MB / 0.6331 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4663, allocations: 0 / 0.6331 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4663, allocations: 0 / 0.6331 GB, free: 9.977 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.4664, allocations: 0 / 0.6331 GB, free: 9.977 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005132/0.4715, allocations: 1.595 MB / 0.6346 GB, free: 8.344 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.4715, allocations: 8.031 kB / 0.6346 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/0.4716, allocations: 70.72 kB / 0.6347 GB, free: 8.258 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.4731, allocations: 192.5 kB / 0.6349 GB, free: 8.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.4735, allocations: 214 kB / 0.6351 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.4735, allocations: 21.03 kB / 0.6351 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.4735, allocations: 39.94 kB / 0.6351 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.4757, allocations: 0.7565 MB / 0.6359 GB, free: 6.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4757, allocations: 4 kB / 0.6359 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.4758, allocations: 12 kB / 0.6359 GB, free: 6.953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.4758, allocations: 8 kB / 0.6359 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.4779, allocations: 0.8219 MB / 0.6367 GB, free: 6.125 MB / 478.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.003784/0.4817, allocations: 2.425 MB / 0.6391 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.483, allocations: 344.6 kB / 0.6394 GB, free: 3.203 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.4832, allocations: 72.92 kB / 0.6395 GB, free: 3.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6891/1.172, allocations: 99.53 MB / 0.7367 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/1.174, allocations: 449.8 kB / 0.7371 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/1.174, allocations: 0.625 kB / 0.7371 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.00406/1.178, allocations: 1.139 MB / 0.7382 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/1.178, allocations: 375.6 kB / 0.7386 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/1.178, allocations: 185.3 kB / 0.7388 GB, free: 133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/1.178, allocations: 31.55 kB / 0.7388 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.178, allocations: 187.5 kB / 0.739 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/1.178, allocations: 129.4 kB / 0.7391 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.179, allocations: 123 kB / 0.7392 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.796e-05/1.179, allocations: 335.1 kB / 0.7395 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/1.179, allocations: 79.22 kB / 0.7396 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/1.179, allocations: 349.3 kB / 0.7399 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/1.179, allocations: 484.8 kB / 0.7404 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.179, allocations: 4.594 kB / 0.7404 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007758/1.18, allocations: 464.7 kB / 0.7408 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.18, allocations: 10.88 kB / 0.7409 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.18, allocations: 9.406 kB / 0.7409 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/1.18, allocations: 16.36 kB / 0.7409 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/1.182, allocations: 209.2 kB / 0.7411 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003735/1.182, allocations: 1.19 MB / 0.7422 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/1.182, allocations: 27.17 kB / 0.7423 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/1.183, allocations: 45.77 kB / 0.7423 GB, free: 130.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001555/1.183, allocations: 161.5 kB / 0.7425 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/1.183, allocations: 28.14 kB / 0.7425 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/1.185, allocations: 2.993 MB / 0.7454 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/1.185, allocations: 21.08 kB / 0.7454 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.185, allocations: 2.156 kB / 0.7454 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.185, allocations: 6.625 kB / 0.7454 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008735/1.186, allocations: 0.9697 MB / 0.7464 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.186, allocations: 3.219 kB / 0.7464 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/1.187, allocations: 107.4 kB / 0.7465 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001776/1.187, allocations: 163.5 kB / 0.7466 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/1.187, allocations: 14.12 kB / 0.7467 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000272/1.187, allocations: 0.6482 MB / 0.7473 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.187, allocations: 4.188 kB / 0.7473 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.188, allocations: 0.986 MB / 0.7483 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/1.188, allocations: 54.81 kB / 0.7483 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.188, allocations: 99.17 kB / 0.7484 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/1.189, allocations: 16.5 kB / 0.7484 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/1.189, allocations: 38.16 kB / 0.7485 GB, free: 129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/1.189, allocations: 17.34 kB / 0.7485 GB, free: 129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004735/1.189, allocations: 468.9 kB / 0.7489 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.189, allocations: 0.75 kB / 0.7489 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00415/1.193, allocations: 1.635 MB / 0.7505 GB, free: 128.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009053/1.203, allocations: 3.186 MB / 0.7536 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001641/1.204, allocations: 0.5351 MB / 0.7542 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.204, allocations: 0 / 0.7542 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/1.205, allocations: 309.9 kB / 0.7545 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/1.205, allocations: 130 kB / 0.7546 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6852/1.891, allocations: 353.3 MB / 1.1 GB, free: 158.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/1.891, allocations: 0.9859 MB / 1.101 GB, free: 157.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005887/1.892, allocations: 0.5035 MB / 1.101 GB, free: 157.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/1.892, allocations: 319.3 kB / 1.101 GB, free: 157 MB / 0.6544 GB Notification: Performance of SimCode: time 1.423e-06/1.892, allocations: 0 / 1.101 GB, free: 157 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09473/1.987, allocations: 67.16 MB / 1.167 GB, free: 89.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.86/19.85, allocations: 3.938 kB / 1.167 GB, free: 89.91 MB / 0.6544 GB " [Timeout remaining time 640] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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: 23.207208052044734]