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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 69.83 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1139, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01181/0.1257, allocations: 11.23 MB / 480.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.138, allocations: 11.78 MB / 492.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1382, allocations: 7.938 kB / 492.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.1386, allocations: 67.56 kB / 492.4 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.1502, allocations: 3.12 MB / 495.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.1509, allocations: 150.4 kB / 495.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.1568, allocations: 3.893 MB / 499.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.676e-05/0.1569, allocations: 16.39 kB / 499.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1571, allocations: 143.6 kB / 499.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008793/0.1659, allocations: 7.126 MB / 0.495 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.166, allocations: 8 kB / 0.495 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00614/0.1722, allocations: 2.353 MB / 0.4973 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1723, allocations: 43.81 kB / 0.4974 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.1726, allocations: 123.4 kB / 0.4975 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.1775, allocations: 1.719 MB / 0.4991 GB, free: 4.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.1776, allocations: 0 / 0.4991 GB, free: 4.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1776, allocations: 0 / 0.4991 GB, free: 4.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1776, allocations: 0 / 0.4991 GB, free: 4.383 MB / 382.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.002489/0.1801, allocations: 0.9624 MB / 0.5001 GB, free: 3.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.1802, allocations: 8.031 kB / 0.5001 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.943e-05/0.1802, allocations: 62.72 kB / 0.5002 GB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.1808, allocations: 84.59 kB / 0.5002 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1811, allocations: 251.9 kB / 0.5005 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1811, allocations: 20.94 kB / 0.5005 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.1812, allocations: 28.38 kB / 0.5005 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009058/0.1821, allocations: 485.4 kB / 0.501 GB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1821, allocations: 3.938 kB / 0.501 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.1822, allocations: 16 kB / 0.501 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.1822, allocations: 11.98 kB / 0.501 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1832, allocations: 0.6773 MB / 0.5017 GB, free: 1.664 MB / 382.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.2565/0.4398, allocations: 3.124 MB / 0.5047 GB, free: 49.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.4406, allocations: 209.7 kB / 0.5049 GB, free: 49.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.4407, allocations: 80.23 kB / 0.505 GB, free: 49.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07872/0.5194, allocations: 33.63 MB / 0.5379 GB, free: 26.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006746/0.5202, allocations: 354.7 kB / 0.5382 GB, free: 26.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.5202, allocations: 0 / 0.5382 GB, free: 26.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002504/0.5227, allocations: 0.8452 MB / 0.539 GB, free: 25.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.5228, allocations: 490.3 kB / 0.5395 GB, free: 24.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.5229, allocations: 161.4 kB / 0.5396 GB, free: 24.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.523, allocations: 33.7 kB / 0.5397 GB, free: 24.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.523, allocations: 160.2 kB / 0.5398 GB, free: 24.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.5231, allocations: 129.8 kB / 0.5399 GB, free: 24.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.5232, allocations: 93.16 kB / 0.54 GB, free: 24.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.5232, allocations: 330.8 kB / 0.5403 GB, free: 23.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.5233, allocations: 67.89 kB / 0.5404 GB, free: 23.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.5235, allocations: 314.2 kB / 0.5407 GB, free: 23.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.5239, allocations: 431.9 kB / 0.5411 GB, free: 22.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5239, allocations: 4 kB / 0.5411 GB, free: 22.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005489/0.5244, allocations: 406.3 kB / 0.5415 GB, free: 22.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5245, allocations: 12.92 kB / 0.5415 GB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5245, allocations: 8 kB / 0.5415 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.5245, allocations: 19.92 kB / 0.5416 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.5263, allocations: 341.8 kB / 0.5419 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/0.5267, allocations: 1.184 MB / 0.543 GB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.5269, allocations: 19.84 kB / 0.5431 GB, free: 20.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.527, allocations: 32 kB / 0.5431 GB, free: 20.76 MB / 382.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.0001174/0.5271, allocations: 161.8 kB / 0.5432 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.5272, allocations: 27.81 kB / 0.5433 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009753/0.5282, allocations: 0.9416 MB / 0.5442 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.5282, allocations: 16.16 kB / 0.5442 GB, free: 19.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5282, allocations: 0 / 0.5442 GB, free: 19.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5282, allocations: 7.984 kB / 0.5442 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5292, allocations: 1.421 MB / 0.5456 GB, free: 18.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.5293, allocations: 4 kB / 0.5456 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.5303, allocations: 155.7 kB / 0.5458 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.5303, allocations: 4 kB / 0.5458 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.5303, allocations: 11.94 kB / 0.5458 GB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001551/0.5305, allocations: 0.5938 MB / 0.5463 GB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5305, allocations: 3.938 kB / 0.5463 GB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.531, allocations: 0.5139 MB / 0.5469 GB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.531, allocations: 100.8 kB / 0.5469 GB, free: 16.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.5311, allocations: 51.42 kB / 0.547 GB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.5313, allocations: 12 kB / 0.547 GB, free: 16.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.5314, allocations: 23.91 kB / 0.547 GB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.5314, allocations: 12 kB / 0.547 GB, free: 16.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.5316, allocations: 275.1 kB / 0.5473 GB, free: 16.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5316, allocations: 0 / 0.5473 GB, free: 16.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001294/0.5329, allocations: 467.1 kB / 0.5477 GB, free: 15.75 MB / 382.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.001758/0.5347, allocations: 1.65 MB / 0.5494 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.5361, allocations: 414.6 kB / 0.5498 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5361, allocations: 0 / 0.5498 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008238/0.537, allocations: 222.3 kB / 0.55 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/0.5378, allocations: 129.4 kB / 0.5501 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.269/1.806, allocations: 0.54 GB / 1.09 GB, free: 185.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/1.807, allocations: 0.8273 MB / 1.091 GB, free: 185.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00046/1.807, allocations: 178.2 kB / 1.091 GB, free: 185 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/1.807, allocations: 158.8 kB / 1.091 GB, free: 184.9 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/1.807, allocations: 3.625 kB / 1.091 GB, free: 184.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03984/1.847, allocations: 20.08 MB / 1.111 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.79, allocations: 9.109 kB / 1.111 GB, free: 172.5 MB / 0.5137 GB (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 --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) 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) Reference file matches