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.001235/0.001235, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001385/0.001385, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2255/0.2255, allocations: 46.91 MB / 361.6 MB, free: 4.191 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 76.16 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 66.09 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01936/0.368, allocations: 14.04 MB / 0.5753 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03281/0.4008, allocations: 26.77 MB / 0.6014 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003232/0.4011, allocations: 0 / 0.6014 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.4016, allocations: 99.38 kB / 0.6015 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02648/0.4281, allocations: 8.554 MB / 0.6099 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.4293, allocations: 353 kB / 0.6102 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005101/0.4344, allocations: 2.006 MB / 0.6122 GB, free: 304 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4345, allocations: 20.58 kB / 0.6122 GB, free: 280 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009146/0.4354, allocations: 278.8 kB / 0.6124 GB, free: 0 / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007832/0.4432, allocations: 3.27 MB / 0.6156 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.4433, allocations: 12 kB / 0.6156 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02657/0.4699, allocations: 11.66 MB / 0.627 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.47, allocations: 47.81 kB / 0.6271 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.4703, allocations: 139.3 kB / 0.6272 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01937/0.4897, allocations: 6.782 MB / 0.6338 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4897, allocations: 0 / 0.6338 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4897, allocations: 0 / 0.6338 GB, free: 10 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.4897, allocations: 0 / 0.6338 GB, free: 10 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.005636/0.4954, allocations: 1.591 MB / 0.6354 GB, free: 8.375 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.4954, allocations: 12.03 kB / 0.6354 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.54e-05/0.4954, allocations: 8.844 kB / 0.6354 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.539e-05/0.4955, allocations: 66.72 kB / 0.6355 GB, free: 8.281 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.4972, allocations: 192.5 kB / 0.6357 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.4976, allocations: 214 kB / 0.6359 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.4976, allocations: 28.78 kB / 0.6359 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.4977, allocations: 28 kB / 0.6359 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.5, allocations: 0.76 MB / 0.6367 GB, free: 6.996 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5, allocations: 7.938 kB / 0.6367 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.5, allocations: 16 kB / 0.6367 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5, allocations: 8 kB / 0.6367 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.5023, allocations: 0.8219 MB / 0.6375 GB, free: 6.145 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.003673/0.506, allocations: 2.429 MB / 0.6399 GB, free: 3.562 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.5073, allocations: 334.3 kB / 0.6402 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.5074, allocations: 68.83 kB / 0.6402 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6283/1.136, allocations: 99.54 MB / 0.7375 GB, free: 134 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00149/1.137, allocations: 451.6 kB / 0.7379 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.036e-06/1.137, allocations: 0 / 0.7379 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004013/1.141, allocations: 1.141 MB / 0.739 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/1.141, allocations: 370.5 kB / 0.7394 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/1.141, allocations: 183.4 kB / 0.7395 GB, free: 133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/1.141, allocations: 36.62 kB / 0.7396 GB, free: 133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/1.142, allocations: 196.2 kB / 0.7398 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/1.142, allocations: 123 kB / 0.7399 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/1.142, allocations: 124.2 kB / 0.74 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/1.142, allocations: 334.2 kB / 0.7403 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/1.142, allocations: 77.83 kB / 0.7404 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/1.142, allocations: 352.9 kB / 0.7407 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/1.143, allocations: 482 kB / 0.7412 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.143, allocations: 3.219 kB / 0.7412 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007716/1.144, allocations: 470.5 kB / 0.7416 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.144, allocations: 11.03 kB / 0.7416 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.144, allocations: 9 kB / 0.7416 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/1.144, allocations: 17 kB / 0.7417 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.145, allocations: 207.8 kB / 0.7419 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003958/1.146, allocations: 1.184 MB / 0.743 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/1.146, allocations: 27 kB / 0.743 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/1.146, allocations: 44.73 kB / 0.7431 GB, free: 130.6 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.0001711/1.146, allocations: 167 kB / 0.7432 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/1.146, allocations: 27.05 kB / 0.7433 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/1.149, allocations: 2.99 MB / 0.7462 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/1.149, allocations: 27.02 kB / 0.7462 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.149, allocations: 3.156 kB / 0.7462 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.149, allocations: 3.188 kB / 0.7462 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007808/1.149, allocations: 0.9699 MB / 0.7472 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.149, allocations: 5.562 kB / 0.7472 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/1.15, allocations: 98.25 kB / 0.7473 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001628/1.15, allocations: 160.8 kB / 0.7474 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.15, allocations: 19.09 kB / 0.7474 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002495/1.15, allocations: 0.6475 MB / 0.7481 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.15, allocations: 6.312 kB / 0.7481 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/1.151, allocations: 0.9902 MB / 0.749 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/1.151, allocations: 51.81 kB / 0.7491 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.151, allocations: 98.22 kB / 0.7492 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/1.152, allocations: 18.66 kB / 0.7492 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/1.152, allocations: 38.95 kB / 0.7492 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/1.152, allocations: 13.69 kB / 0.7493 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004386/1.152, allocations: 472.2 kB / 0.7497 GB, free: 129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.152, allocations: 0 / 0.7497 GB, free: 129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004534/1.157, allocations: 1.638 MB / 0.7513 GB, free: 128.9 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.008309/1.165, allocations: 3.18 MB / 0.7544 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001817/1.167, allocations: 0.5383 MB / 0.7549 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.167, allocations: 3.219 kB / 0.7549 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/1.167, allocations: 299.2 kB / 0.7552 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009114/1.168, allocations: 132.9 kB / 0.7554 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6593/1.828, allocations: 353.3 MB / 1.1 GB, free: 158.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/1.828, allocations: 0.982 MB / 1.101 GB, free: 157.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000561/1.828, allocations: 0.4991 MB / 1.102 GB, free: 157.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/1.829, allocations: 323.3 kB / 1.102 GB, free: 157.1 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/1.829, allocations: 0 / 1.102 GB, free: 157.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08691/1.916, allocations: 67.19 MB / 1.168 GB, free: 89.99 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.22/19.13, allocations: 3.938 kB / 1.168 GB, free: 89.99 MB / 0.6544 GB " [Timeout remaining time 641] (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: 22.830900130968075]