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.001867/0.001867, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002559/0.002559, allocations: 212.7 kB / 22.99 MB, free: 4.602 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.595/1.595, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2369/0.2369, allocations: 44.25 MB / 330.3 MB, free: 9.32 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_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.002265/0.002265, allocations: 78.39 kB / 467.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1403, allocations: 61.03 MB / 0.5162 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01412/0.1544, allocations: 10.13 MB / 0.5261 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.1722, allocations: 12.59 MB / 0.5384 GB, free: 336 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.1725, allocations: 4 kB / 0.5384 GB, free: 332 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.173, allocations: 59.53 kB / 0.5384 GB, free: 272 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3088/0.4818, allocations: 3.095 MB / 0.5415 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.4822, allocations: 148.6 kB / 0.5416 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006268/0.4884, allocations: 3.965 MB / 0.5455 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.4885, allocations: 11.89 kB / 0.5455 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.4887, allocations: 150.2 kB / 0.5456 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.4999, allocations: 7.244 MB / 0.5527 GB, free: 8.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.5, allocations: 9.438 kB / 0.5527 GB, free: 8.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006994/0.507, allocations: 2.019 MB / 0.5547 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.5071, allocations: 43.52 kB / 0.5547 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.5074, allocations: 110.7 kB / 0.5548 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005842/0.5133, allocations: 1.538 MB / 0.5563 GB, free: 8.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.5133, allocations: 0 / 0.5563 GB, free: 8.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5133, allocations: 2.672 kB / 0.5563 GB, free: 8.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.5133, allocations: 0 / 0.5563 GB, free: 8.727 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.002136/0.5154, allocations: 0.8655 MB / 0.5572 GB, free: 8.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5155, allocations: 11.89 kB / 0.5572 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.505e-05/0.5156, allocations: 59.09 kB / 0.5573 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.5161, allocations: 82.88 kB / 0.5573 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.5165, allocations: 191.9 kB / 0.5575 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5165, allocations: 18.44 kB / 0.5575 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.5166, allocations: 25.72 kB / 0.5576 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.5176, allocations: 0.5361 MB / 0.5581 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.5176, allocations: 4.281 kB / 0.5581 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.5176, allocations: 17.28 kB / 0.5581 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.5176, allocations: 6.906 kB / 0.5581 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.5189, allocations: 0.6814 MB / 0.5588 GB, free: 7.867 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.007924/0.5268, allocations: 2.867 MB / 0.5616 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.5274, allocations: 159.2 kB / 0.5617 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.5275, allocations: 58.61 kB / 0.5618 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02403/0.5515, allocations: 7.709 MB / 0.5693 GB, free: 3.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000655/0.5522, allocations: 324.7 kB / 0.5696 GB, free: 3.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.5522, allocations: 1.203 kB / 0.5696 GB, free: 3.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001251/0.5534, allocations: 438.6 kB / 0.57 GB, free: 3.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5535, allocations: 485.6 kB / 0.5705 GB, free: 2.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.5537, allocations: 195.9 kB / 0.5707 GB, free: 2.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.5537, allocations: 31.33 kB / 0.5707 GB, free: 2.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.5538, allocations: 188.2 kB / 0.5709 GB, free: 2.344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.5538, allocations: 111.1 kB / 0.571 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.5539, allocations: 92.95 kB / 0.5711 GB, free: 2.191 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.554, allocations: 333.5 kB / 0.5714 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/0.5541, allocations: 64.14 kB / 0.5715 GB, free: 1.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.5543, allocations: 312.5 kB / 0.5718 GB, free: 1.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.5547, allocations: 428.6 kB / 0.5722 GB, free: 1.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5547, allocations: 3.938 kB / 0.5722 GB, free: 1.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006257/0.5553, allocations: 399.1 kB / 0.5726 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.5554, allocations: 8.594 kB / 0.5726 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.5554, allocations: 8.75 kB / 0.5726 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.5554, allocations: 11.75 kB / 0.5726 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.5557, allocations: 111.5 kB / 0.5727 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.5558, allocations: 18.05 kB / 0.5727 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.556, allocations: 46.77 kB / 0.5728 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.5561, allocations: 28.34 kB / 0.5728 GB, free: 0.8711 MB / 414.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.0001293/0.5562, allocations: 159 kB / 0.5729 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.5563, allocations: 29.66 kB / 0.573 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009925/0.5573, allocations: 0.8495 MB / 0.5738 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5573, allocations: 8.156 kB / 0.5738 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5573, allocations: 2.75 kB / 0.5738 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5573, allocations: 9.297 kB / 0.5738 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.5585, allocations: 0.9033 MB / 0.5747 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5585, allocations: 2.594 kB / 0.5747 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.5586, allocations: 36.45 kB / 0.5747 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5586, allocations: 7.031 kB / 0.5747 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.5586, allocations: 2.969 kB / 0.5747 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5586, allocations: 7.219 kB / 0.5748 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.5587, allocations: 9.719 kB / 0.5748 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.5591, allocations: 375.5 kB / 0.5751 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.5591, allocations: 26.98 kB / 0.5751 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.008e-05/0.5592, allocations: 48.09 kB / 0.5752 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.5595, allocations: 12.83 kB / 0.5752 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.5595, allocations: 17.78 kB / 0.5752 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.5595, allocations: 12.47 kB / 0.5752 GB, free: 15.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003412/0.5599, allocations: 295.5 kB / 0.5755 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5599, allocations: 0 / 0.5755 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001846/0.5617, allocations: 434 kB / 0.5759 GB, free: 14.79 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.002082/0.5638, allocations: 1.443 MB / 0.5773 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.5642, allocations: 237.6 kB / 0.5776 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5642, allocations: 3.031 kB / 0.5776 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.5643, allocations: 76.97 kB / 0.5776 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.5651, allocations: 107.9 kB / 0.5777 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.281/1.847, allocations: 0.5821 GB / 1.16 GB, free: 78.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/1.847, allocations: 203.1 kB / 1.16 GB, free: 77.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003886/1.847, allocations: 159.4 kB / 1.16 GB, free: 77.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/1.847, allocations: 147.4 kB / 1.16 GB, free: 77.57 MB / 0.5919 GB Notification: Performance of SimCode: time 1.853e-06/1.847, allocations: 0 / 1.16 GB, free: 77.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05106/1.898, allocations: 19.38 MB / 1.179 GB, free: 58.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.84, allocations: 8 kB / 1.179 GB, free: 58.24 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: 19.177009857725352]