Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001284/0.001284, allocations: 111.7 kB / 19.69 MB, free: 2.188 MB / 14.72 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.001455/0.001455, allocations: 221.1 kB / 23.01 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 67.91 kB / 467.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1272, allocations: 61.04 MB / 0.5162 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01417/0.1413, allocations: 11.35 MB / 0.5273 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2417/0.383, allocations: 14.37 MB / 0.5413 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.3832, allocations: 1.312 kB / 0.5413 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.3835, allocations: 72.11 kB / 0.5414 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008296/0.3918, allocations: 3.144 MB / 0.5444 GB, free: 9.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.3922, allocations: 150.5 kB / 0.5446 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006209/0.3984, allocations: 3.969 MB / 0.5485 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.3984, allocations: 16.72 kB / 0.5485 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.3987, allocations: 145 kB / 0.5486 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.4089, allocations: 7.251 MB / 0.5557 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.087e-05/0.409, allocations: 9.469 kB / 0.5557 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005931/0.4149, allocations: 2.164 MB / 0.5578 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.415, allocations: 51.67 kB / 0.5579 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.4154, allocations: 124.9 kB / 0.558 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005146/0.4206, allocations: 1.549 MB / 0.5595 GB, free: 8.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4206, allocations: 0 / 0.5595 GB, free: 8.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4206, allocations: 0 / 0.5595 GB, free: 8.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.4206, allocations: 4 kB / 0.5595 GB, free: 8.246 MB / 414.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.002311/0.4229, allocations: 0.8727 MB / 0.5604 GB, free: 7.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4229, allocations: 10.62 kB / 0.5604 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.423, allocations: 58.78 kB / 0.5604 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/0.4236, allocations: 84.02 kB / 0.5605 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.4242, allocations: 195.2 kB / 0.5607 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.4243, allocations: 19.62 kB / 0.5607 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.4244, allocations: 26.44 kB / 0.5607 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.4256, allocations: 499 kB / 0.5612 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.4256, allocations: 1.594 kB / 0.5612 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.4257, allocations: 10.03 kB / 0.5612 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4257, allocations: 7.656 kB / 0.5612 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.4271, allocations: 0.6979 MB / 0.5619 GB, free: 7.375 MB / 414.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.006729/0.4339, allocations: 3.052 MB / 0.5649 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.4344, allocations: 163 kB / 0.565 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.899e-05/0.4345, allocations: 58.81 kB / 0.5651 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03373/0.4682, allocations: 7.678 MB / 0.5726 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.4694, allocations: 325.2 kB / 0.5729 GB, free: 1.805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 5.27e-06/0.4694, allocations: 0 / 0.5729 GB, free: 1.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.002644/0.472, allocations: 441.3 kB / 0.5733 GB, free: 1.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.4722, allocations: 477.4 kB / 0.5738 GB, free: 1.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.4725, allocations: 189.7 kB / 0.574 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.4726, allocations: 33.45 kB / 0.574 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.4727, allocations: 191.1 kB / 0.5742 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4728, allocations: 111.2 kB / 0.5743 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.4731, allocations: 91.5 kB / 0.5744 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.4732, allocations: 335 kB / 0.5747 GB, free: 168 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.4734, allocations: 60.88 kB / 0.5747 GB, free: 144 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.4739, allocations: 312.6 kB / 0.575 GB, free: 15.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009481/0.4748, allocations: 433.2 kB / 0.5755 GB, free: 15.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.4748, allocations: 3.594 kB / 0.5755 GB, free: 15.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001255/0.4761, allocations: 394.7 kB / 0.5758 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.4761, allocations: 8.406 kB / 0.5758 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.4762, allocations: 12.25 kB / 0.5759 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.895e-05/0.4762, allocations: 12.38 kB / 0.5759 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.4767, allocations: 111.5 kB / 0.576 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.703e-05/0.4768, allocations: 18.92 kB / 0.576 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005748/0.4774, allocations: 48.12 kB / 0.576 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.669e-05/0.4774, allocations: 29.31 kB / 0.5761 GB, free: 15.05 MB / 430.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.0003518/0.4778, allocations: 160.7 kB / 0.5762 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.478, allocations: 26.97 kB / 0.5762 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.4799, allocations: 0.8239 MB / 0.5771 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.48, allocations: 7.438 kB / 0.5771 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.48, allocations: 2.656 kB / 0.5771 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.48, allocations: 3.938 kB / 0.5771 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.482, allocations: 0.9113 MB / 0.578 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.482, allocations: 3 kB / 0.578 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.4822, allocations: 27.86 kB / 0.578 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.4822, allocations: 8.25 kB / 0.578 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4822, allocations: 9.344 kB / 0.578 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.4822, allocations: 6.719 kB / 0.578 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.4822, allocations: 2.656 kB / 0.578 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/0.483, allocations: 383.1 kB / 0.5784 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.4831, allocations: 28.41 kB / 0.5784 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.4833, allocations: 53.25 kB / 0.5785 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.4838, allocations: 13.36 kB / 0.5785 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.4838, allocations: 17.95 kB / 0.5785 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.4838, allocations: 19.77 kB / 0.5785 GB, free: 13.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005397/0.4844, allocations: 292.7 kB / 0.5788 GB, free: 13.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4844, allocations: 0 / 0.5788 GB, free: 13.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00252/0.4869, allocations: 429.6 kB / 0.5792 GB, free: 12.92 MB / 430.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.003879/0.4908, allocations: 1.442 MB / 0.5806 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.4915, allocations: 232.7 kB / 0.5808 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4915, allocations: 0 / 0.5808 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.4917, allocations: 70.83 kB / 0.5809 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.4931, allocations: 112 kB / 0.581 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.183/1.676, allocations: 0.5821 GB / 1.163 GB, free: 76.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/1.676, allocations: 0.8029 MB / 1.164 GB, free: 75.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003772/1.677, allocations: 175.7 kB / 1.164 GB, free: 75.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/1.677, allocations: 151.4 kB / 1.164 GB, free: 75.14 MB / 0.5919 GB Notification: Performance of SimCode: time 1.402e-06/1.677, allocations: 0 / 1.164 GB, free: 75.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/1.722, allocations: 18.77 MB / 1.182 GB, free: 56.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.79, allocations: 3.984 kB / 1.183 GB, free: 56.43 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 18.720048242947087]