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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 111.2 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.559/1.559, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.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.3477/0.3477, allocations: 44.22 MB / 326.5 MB, free: 6.805 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 75.89 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 60.99 MB / 0.511 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.009908/0.3435, allocations: 11.3 MB / 0.522 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01745/0.361, allocations: 14.33 MB / 0.536 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.3615, allocations: 0 / 0.536 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.3621, allocations: 75.48 kB / 0.536 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.3743, allocations: 3.108 MB / 0.5391 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.3747, allocations: 155.5 kB / 0.5392 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005846/0.3806, allocations: 3.912 MB / 0.5431 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.691e-05/0.3807, allocations: 20.39 kB / 0.5431 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.3808, allocations: 139.5 kB / 0.5432 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009758/0.3906, allocations: 7.16 MB / 0.5502 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.3907, allocations: 8 kB / 0.5502 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005373/0.396, allocations: 2.146 MB / 0.5523 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3961, allocations: 43.83 kB / 0.5523 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.3963, allocations: 123.4 kB / 0.5525 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.4002, allocations: 1.558 MB / 0.554 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4002, allocations: 0 / 0.554 GB, free: 2.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4002, allocations: 0 / 0.554 GB, free: 2.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.4002, allocations: 0 / 0.554 GB, free: 2.793 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.002188/0.4024, allocations: 0.9374 MB / 0.5549 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4024, allocations: 15.89 kB / 0.5549 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.4025, allocations: 62.73 kB / 0.555 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000589/0.4031, allocations: 84.72 kB / 0.5551 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.4035, allocations: 251.9 kB / 0.5553 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.4035, allocations: 20.94 kB / 0.5553 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.4036, allocations: 24.38 kB / 0.5553 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/0.4046, allocations: 489.4 kB / 0.5558 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4046, allocations: 3.938 kB / 0.5558 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.4046, allocations: 12 kB / 0.5558 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.4046, allocations: 4 kB / 0.5558 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.4057, allocations: 0.6812 MB / 0.5565 GB, free: 96 kB / 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.00816/0.4139, allocations: 4.304 MB / 0.5607 GB, free: 11.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.4145, allocations: 170.6 kB / 0.5609 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.4146, allocations: 48.84 kB / 0.5609 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03045/0.4451, allocations: 16.42 MB / 0.5769 GB, free: 8.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007472/0.4458, allocations: 313.7 kB / 0.5772 GB, free: 8.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.4458, allocations: 0 / 0.5772 GB, free: 8.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.00143/0.4472, allocations: 445.5 kB / 0.5777 GB, free: 7.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002598/0.4475, allocations: 475.8 kB / 0.5781 GB, free: 7.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.4477, allocations: 192.4 kB / 0.5783 GB, free: 6.969 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.4477, allocations: 33.7 kB / 0.5783 GB, free: 6.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.4479, allocations: 188.2 kB / 0.5785 GB, free: 6.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.448, allocations: 107.1 kB / 0.5786 GB, free: 6.637 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4481, allocations: 98.03 kB / 0.5787 GB, free: 6.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4483, allocations: 330.8 kB / 0.579 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.4484, allocations: 60.84 kB / 0.5791 GB, free: 6.145 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.4488, allocations: 310.7 kB / 0.5794 GB, free: 5.719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.4494, allocations: 428.9 kB / 0.5798 GB, free: 5.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4494, allocations: 4 kB / 0.5798 GB, free: 5.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007132/0.4501, allocations: 405.9 kB / 0.5802 GB, free: 4.773 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4501, allocations: 8 kB / 0.5802 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4501, allocations: 8 kB / 0.5802 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.4501, allocations: 12 kB / 0.5802 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.4505, allocations: 107.8 kB / 0.5803 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.4505, allocations: 19.92 kB / 0.5803 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.4508, allocations: 51.62 kB / 0.5804 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.4508, allocations: 28 kB / 0.5804 GB, free: 4.543 MB / 446.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.0001704/0.451, allocations: 169.7 kB / 0.5806 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/0.4511, allocations: 23.91 kB / 0.5806 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.4522, allocations: 0.7826 MB / 0.5813 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.4522, allocations: 4 kB / 0.5813 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.4522, allocations: 8 kB / 0.5814 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4522, allocations: 7.938 kB / 0.5814 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.4536, allocations: 1.208 MB / 0.5825 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.4536, allocations: 4 kB / 0.5825 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.4537, allocations: 35.92 kB / 0.5826 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.4537, allocations: 7.938 kB / 0.5826 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.4537, allocations: 11.98 kB / 0.5826 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.4538, allocations: 4.094 kB / 0.5826 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4538, allocations: 4 kB / 0.5826 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.4543, allocations: 390.8 kB / 0.583 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.4544, allocations: 104.8 kB / 0.5831 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.4544, allocations: 43.56 kB / 0.5831 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.4547, allocations: 15.98 kB / 0.5831 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.4548, allocations: 23.92 kB / 0.5832 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4548, allocations: 8 kB / 0.5832 GB, free: 1.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.4552, allocations: 294.9 kB / 0.5834 GB, free: 1.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4552, allocations: 0 / 0.5834 GB, free: 1.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001454/0.4566, allocations: 434.5 kB / 0.5839 GB, free: 0.7305 MB / 446.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.002186/0.4588, allocations: 1.449 MB / 0.5853 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.4593, allocations: 216.3 kB / 0.5855 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.4593, allocations: 3.984 kB / 0.5855 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.4594, allocations: 69.52 kB / 0.5856 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/0.4602, allocations: 106.5 kB / 0.5857 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.646/2.106, allocations: 0.5821 GB / 1.168 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/2.106, allocations: 0.8114 MB / 1.169 GB, free: 151.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004003/2.107, allocations: 173.6 kB / 1.169 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/2.107, allocations: 143.4 kB / 1.169 GB, free: 151 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/2.107, allocations: 0 / 1.169 GB, free: 151 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/2.149, allocations: 18.42 MB / 1.187 GB, free: 132.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.161/11.31, allocations: 11.88 kB / 1.187 GB, free: 132.7 MB / 0.5919 GB " [Timeout remaining time 649] (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_2/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_2/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: 16.35577428387478]