Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.001861/0.001861, allocations: 109.2 kB / 20.48 MB, free: 1.492 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.002498/0.002498, allocations: 218.1 kB / 23.79 MB, free: 4.703 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.549/1.549, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.2394/0.2394, allocations: 44.24 MB / 331.1 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 179] 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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",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.003352/0.003352, allocations: 72.52 kB / 468.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1684, allocations: 61.04 MB / 0.517 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01461/0.183, allocations: 11.34 MB / 0.528 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2768/0.4598, allocations: 14.38 MB / 0.5421 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.46, allocations: 1.094 kB / 0.5421 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.4604, allocations: 78.33 kB / 0.5421 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009775/0.4702, allocations: 3.131 MB / 0.5452 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.4706, allocations: 158.3 kB / 0.5454 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006773/0.4773, allocations: 3.967 MB / 0.5492 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.4774, allocations: 12.39 kB / 0.5492 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.4777, allocations: 144.9 kB / 0.5494 GB, free: 9.152 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.4898, allocations: 7.256 MB / 0.5565 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.4899, allocations: 13.64 kB / 0.5565 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008712/0.4986, allocations: 2.415 MB / 0.5588 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.4988, allocations: 45.95 kB / 0.5589 GB, free: 8.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.4992, allocations: 126.5 kB / 0.559 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007373/0.5066, allocations: 1.724 MB / 0.5607 GB, free: 8.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5066, allocations: 4.75 kB / 0.5607 GB, free: 8.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5066, allocations: 0 / 0.5607 GB, free: 8.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.5066, allocations: 3.938 kB / 0.5607 GB, free: 8.258 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.002668/0.5093, allocations: 0.9092 MB / 0.5616 GB, free: 7.734 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5093, allocations: 9.625 kB / 0.5616 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.339e-05/0.5093, allocations: 9.828 kB / 0.5616 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.5094, allocations: 62.17 kB / 0.5617 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005846/0.51, allocations: 81.42 kB / 0.5617 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.5103, allocations: 194.2 kB / 0.5619 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.5103, allocations: 22.53 kB / 0.5619 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.5104, allocations: 28.72 kB / 0.562 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.5113, allocations: 494.5 kB / 0.5624 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5113, allocations: 1.438 kB / 0.5624 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.5114, allocations: 18.75 kB / 0.5625 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.5114, allocations: 7.531 kB / 0.5625 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.5124, allocations: 0.701 MB / 0.5632 GB, free: 7.219 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.006213/0.5186, allocations: 2.78 MB / 0.5659 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.5194, allocations: 201 kB / 0.5661 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.5195, allocations: 68.17 kB / 0.5661 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07626/0.5957, allocations: 22.11 MB / 0.5877 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009332/0.5967, allocations: 350.4 kB / 0.5881 GB, free: 6.168 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.5967, allocations: 0 / 0.5881 GB, free: 6.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002819/0.5995, allocations: 0.877 MB / 0.5889 GB, free: 5.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003519/0.5998, allocations: 490.8 kB / 0.5894 GB, free: 4.703 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.6, allocations: 162 kB / 0.5895 GB, free: 4.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.6001, allocations: 29.7 kB / 0.5896 GB, free: 4.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.6002, allocations: 172 kB / 0.5897 GB, free: 4.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.6003, allocations: 134 kB / 0.5899 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6004, allocations: 94.12 kB / 0.5899 GB, free: 4.105 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6006, allocations: 326.8 kB / 0.5903 GB, free: 3.777 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.6007, allocations: 68.95 kB / 0.5903 GB, free: 3.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.6012, allocations: 311.2 kB / 0.5906 GB, free: 3.293 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.6018, allocations: 444.4 kB / 0.591 GB, free: 2.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6018, allocations: 0 / 0.591 GB, free: 2.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007315/0.6025, allocations: 402 kB / 0.5914 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.6026, allocations: 8 kB / 0.5914 GB, free: 2.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6026, allocations: 12 kB / 0.5914 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.633e-05/0.6026, allocations: 8 kB / 0.5914 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.6046, allocations: 355.9 kB / 0.5918 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007467/0.6053, allocations: 1.184 MB / 0.5929 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.6056, allocations: 19.95 kB / 0.593 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.6056, allocations: 31.98 kB / 0.593 GB, free: 0.6953 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0002221/0.6059, allocations: 161.5 kB / 0.5931 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.606, allocations: 23.91 kB / 0.5932 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.6073, allocations: 0.9809 MB / 0.5941 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6073, allocations: 11.98 kB / 0.5941 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6074, allocations: 4 kB / 0.5941 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6074, allocations: 0 / 0.5941 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.6089, allocations: 1.126 MB / 0.5952 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6089, allocations: 4 kB / 0.5952 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.61, allocations: 152.8 kB / 0.5954 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-06/0.61, allocations: 4 kB / 0.5954 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.61, allocations: 8 kB / 0.5954 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003814/0.6104, allocations: 0.5937 MB / 0.596 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6104, allocations: 4.031 kB / 0.596 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/0.6111, allocations: 0.5229 MB / 0.5965 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.6112, allocations: 35.58 kB / 0.5965 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.6113, allocations: 48.12 kB / 0.5966 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.6115, allocations: 15.98 kB / 0.5966 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.6116, allocations: 31.89 kB / 0.5966 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.6116, allocations: 12 kB / 0.5966 GB, free: 12.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.6119, allocations: 275.1 kB / 0.5969 GB, free: 12.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6119, allocations: 0 / 0.5969 GB, free: 12.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001675/0.6136, allocations: 470.6 kB / 0.5973 GB, free: 12.07 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002569/0.6162, allocations: 1.665 MB / 0.599 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.6177, allocations: 386.5 kB / 0.5993 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.6177, allocations: 4 kB / 0.5993 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.6185, allocations: 198.5 kB / 0.5995 GB, free: 9.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/0.6193, allocations: 125.3 kB / 0.5997 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.232/1.851, allocations: 0.54 GB / 1.14 GB, free: 98.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/1.852, allocations: 0.8265 MB / 1.141 GB, free: 98.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003563/1.852, allocations: 167.6 kB / 1.141 GB, free: 97.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.852, allocations: 159.4 kB / 1.141 GB, free: 97.75 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/1.852, allocations: 0 / 1.141 GB, free: 97.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/1.891, allocations: 20.64 MB / 1.161 GB, free: 77.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.88, allocations: 12.05 kB / 1.161 GB, free: 77.18 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_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: 25.754674630996305]