Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001208/0.001208, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001395/0.001395, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 44.91 MB / 359.6 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002198/0.002198, allocations: 67.89 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3983, allocations: 65.47 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01428/0.4125, allocations: 11.38 MB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.4283, allocations: 11.86 MB / 0.5805 GB, free: 404 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.4285, allocations: 4 kB / 0.5805 GB, free: 400 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.4289, allocations: 67.48 kB / 0.5806 GB, free: 332 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009924/0.4388, allocations: 3.138 MB / 0.5837 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.4393, allocations: 155 kB / 0.5838 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006642/0.446, allocations: 3.963 MB / 0.5877 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.699e-05/0.446, allocations: 12.58 kB / 0.5877 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.4462, allocations: 155.5 kB / 0.5878 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.4572, allocations: 7.246 MB / 0.5949 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.661e-05/0.4573, allocations: 16 kB / 0.5949 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.4637, allocations: 2.427 MB / 0.5973 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.4638, allocations: 51.7 kB / 0.5974 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.4641, allocations: 123.4 kB / 0.5975 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.4687, allocations: 1.718 MB / 0.5992 GB, free: 13.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4687, allocations: 0 / 0.5992 GB, free: 13.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4687, allocations: 0 / 0.5992 GB, free: 13.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4687, allocations: 0 / 0.5992 GB, free: 13.3 MB / 446.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.0023/0.471, allocations: 0.9204 MB / 0.6 GB, free: 12.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4711, allocations: 8.031 kB / 0.6001 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.646e-05/0.4711, allocations: 8.844 kB / 0.6001 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/0.4712, allocations: 62.73 kB / 0.6001 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/0.4718, allocations: 84.72 kB / 0.6002 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.4722, allocations: 194.1 kB / 0.6004 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.4722, allocations: 21.03 kB / 0.6004 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.4722, allocations: 32.12 kB / 0.6004 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.4732, allocations: 490.5 kB / 0.6009 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4733, allocations: 3.938 kB / 0.6009 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.4733, allocations: 16 kB / 0.6009 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.4733, allocations: 8 kB / 0.6009 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4745, allocations: 0.6927 MB / 0.6016 GB, free: 10.68 MB / 446.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.006819/0.4813, allocations: 2.781 MB / 0.6043 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.482, allocations: 214.1 kB / 0.6045 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4821, allocations: 73.38 kB / 0.6046 GB, free: 7.488 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08002/0.5621, allocations: 22.11 MB / 0.6262 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008077/0.5629, allocations: 342.7 kB / 0.6265 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.284e-06/0.5629, allocations: 4 kB / 0.6265 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.00268/0.5656, allocations: 0.8848 MB / 0.6274 GB, free: 32 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002673/0.5659, allocations: 474.6 kB / 0.6278 GB, free: 15.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.566, allocations: 154.5 kB / 0.628 GB, free: 15.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.5661, allocations: 41.7 kB / 0.628 GB, free: 15.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.5662, allocations: 168.3 kB / 0.6282 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5663, allocations: 126.9 kB / 0.6283 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.5664, allocations: 102.1 kB / 0.6284 GB, free: 14.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5665, allocations: 326.8 kB / 0.6287 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5667, allocations: 64.95 kB / 0.6288 GB, free: 14.46 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.567, allocations: 313.5 kB / 0.6291 GB, free: 14.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.5676, allocations: 440 kB / 0.6295 GB, free: 13.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5676, allocations: 4 kB / 0.6295 GB, free: 13.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007048/0.5683, allocations: 393.7 kB / 0.6299 GB, free: 13.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5683, allocations: 11.94 kB / 0.6299 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5683, allocations: 12.12 kB / 0.6299 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.5683, allocations: 15.94 kB / 0.6299 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.5702, allocations: 347.6 kB / 0.6303 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007028/0.5709, allocations: 1.18 MB / 0.6314 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.5711, allocations: 24.08 kB / 0.6314 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.5712, allocations: 35.98 kB / 0.6315 GB, free: 11.44 MB / 478.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.0001731/0.5714, allocations: 157.6 kB / 0.6316 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.5715, allocations: 31.84 kB / 0.6316 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.5728, allocations: 0.977 MB / 0.6326 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.5728, allocations: 15.98 kB / 0.6326 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5728, allocations: 0 / 0.6326 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.547e-06/0.5728, allocations: 4 kB / 0.6326 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.5742, allocations: 1.124 MB / 0.6337 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.5742, allocations: 7.938 kB / 0.6337 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.5753, allocations: 143.9 kB / 0.6339 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5753, allocations: 4 kB / 0.6339 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.5753, allocations: 12 kB / 0.6339 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003678/0.5757, allocations: 0.5821 MB / 0.6344 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.5757, allocations: 7.938 kB / 0.6344 GB, free: 8.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.5764, allocations: 0.5347 MB / 0.635 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.5764, allocations: 35.73 kB / 0.635 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.5765, allocations: 47.55 kB / 0.635 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.5768, allocations: 8 kB / 0.6351 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.5768, allocations: 27.95 kB / 0.6351 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.5769, allocations: 12 kB / 0.6351 GB, free: 7.539 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003238/0.5772, allocations: 279.1 kB / 0.6354 GB, free: 7.266 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5772, allocations: 0 / 0.6354 GB, free: 7.266 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001479/0.5787, allocations: 474.5 kB / 0.6358 GB, free: 6.801 MB / 478.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.002453/0.5811, allocations: 1.656 MB / 0.6374 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.5827, allocations: 394.3 kB / 0.6378 GB, free: 4.699 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5827, allocations: 0 / 0.6378 GB, free: 4.699 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.5835, allocations: 205 kB / 0.638 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.5843, allocations: 128.8 kB / 0.6381 GB, free: 4.375 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.209/1.793, allocations: 0.54 GB / 1.178 GB, free: 32.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/1.793, allocations: 0.8273 MB / 1.179 GB, free: 32.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003493/1.793, allocations: 165.9 kB / 1.179 GB, free: 31.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.794, allocations: 159.4 kB / 1.179 GB, free: 31.75 MB / 0.6231 GB Notification: Performance of SimCode: time 1.302e-06/1.794, allocations: 0 / 1.179 GB, free: 31.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04254/1.836, allocations: 20.61 MB / 1.199 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.71, allocations: 4.062 kB / 1.199 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.63166030397406]