Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00176/0.00176, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002095/0.002095, allocations: 219.7 kB / 23.73 MB, free: 4.16 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2222/0.2222, allocations: 46.97 MB / 360.9 MB, free: 4.133 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 60.14 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3163, allocations: 66.06 MB / 0.5607 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01388/0.3302, allocations: 10.14 MB / 0.5706 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.3439, allocations: 10.3 MB / 0.5806 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.3442, allocations: 0 / 0.5806 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.3445, allocations: 63.53 kB / 0.5807 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.3546, allocations: 3.111 MB / 0.5837 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.3551, allocations: 151.2 kB / 0.5839 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007651/0.3627, allocations: 3.963 MB / 0.5877 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.3628, allocations: 16.58 kB / 0.5877 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.3632, allocations: 147.5 kB / 0.5879 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01106/0.3742, allocations: 7.246 MB / 0.595 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.96e-05/0.3743, allocations: 8 kB / 0.595 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006034/0.3803, allocations: 2.021 MB / 0.5969 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3805, allocations: 55.64 kB / 0.597 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.3807, allocations: 103.6 kB / 0.5971 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.3853, allocations: 1.543 MB / 0.5986 GB, free: 13.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3853, allocations: 4 kB / 0.5986 GB, free: 13.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3853, allocations: 0 / 0.5986 GB, free: 13.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3853, allocations: 0 / 0.5986 GB, free: 13.22 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.00265/0.3879, allocations: 0.8583 MB / 0.5994 GB, free: 12.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.388, allocations: 12.03 kB / 0.5995 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.414e-05/0.3881, allocations: 70.72 kB / 0.5995 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.3887, allocations: 76.73 kB / 0.5996 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.3892, allocations: 194.2 kB / 0.5998 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.3892, allocations: 17.03 kB / 0.5998 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.3892, allocations: 28.38 kB / 0.5998 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3904, allocations: 0.5331 MB / 0.6003 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3904, allocations: 0 / 0.6003 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.3905, allocations: 15.94 kB / 0.6004 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3905, allocations: 8 kB / 0.6004 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3917, allocations: 0.681 MB / 0.601 GB, free: 10.62 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.007443/0.3992, allocations: 2.875 MB / 0.6038 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.3997, allocations: 163 kB / 0.604 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.3998, allocations: 53.53 kB / 0.604 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0258/0.4256, allocations: 7.699 MB / 0.6116 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008174/0.4265, allocations: 322 kB / 0.6119 GB, free: 15.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.837e-06/0.4265, allocations: 0 / 0.6119 GB, free: 15.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001601/0.4281, allocations: 446.7 kB / 0.6123 GB, free: 14.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003359/0.4284, allocations: 478.6 kB / 0.6128 GB, free: 14.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.4287, allocations: 197.9 kB / 0.6129 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/0.4287, allocations: 29.7 kB / 0.613 GB, free: 14.08 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.4289, allocations: 192.2 kB / 0.6132 GB, free: 13.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.429, allocations: 99.16 kB / 0.6132 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.4292, allocations: 94.06 kB / 0.6133 GB, free: 13.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4293, allocations: 327.2 kB / 0.6136 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4294, allocations: 68.83 kB / 0.6137 GB, free: 13.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.4298, allocations: 306.8 kB / 0.614 GB, free: 12.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.4304, allocations: 440.9 kB / 0.6144 GB, free: 12.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/0.4304, allocations: 4 kB / 0.6144 GB, free: 12.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007583/0.4311, allocations: 396.9 kB / 0.6148 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.4312, allocations: 12 kB / 0.6148 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.4312, allocations: 12.78 kB / 0.6148 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.4312, allocations: 12 kB / 0.6148 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.4316, allocations: 107.8 kB / 0.6149 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.4316, allocations: 15.94 kB / 0.615 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.4319, allocations: 51.61 kB / 0.615 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-05/0.432, allocations: 35.98 kB / 0.615 GB, free: 11.68 MB / 462.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.0001956/0.4321, allocations: 153.6 kB / 0.6152 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.4323, allocations: 27.86 kB / 0.6152 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.4335, allocations: 0.8458 MB / 0.616 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4335, allocations: 7.984 kB / 0.6161 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4336, allocations: 4 kB / 0.6161 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4336, allocations: 7.938 kB / 0.6161 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.4349, allocations: 0.8939 MB / 0.6169 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.435, allocations: 4 kB / 0.6169 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.4351, allocations: 35.92 kB / 0.617 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.4351, allocations: 7.938 kB / 0.617 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4351, allocations: 8 kB / 0.617 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.4351, allocations: 8 kB / 0.617 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4351, allocations: 0 / 0.617 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.4356, allocations: 380.7 kB / 0.6174 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.4357, allocations: 31.81 kB / 0.6174 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.4358, allocations: 47.62 kB / 0.6174 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.436, allocations: 11.98 kB / 0.6174 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.4361, allocations: 19.92 kB / 0.6175 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.4361, allocations: 7.984 kB / 0.6175 GB, free: 9.043 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.4364, allocations: 294.9 kB / 0.6178 GB, free: 8.754 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4364, allocations: 0 / 0.6178 GB, free: 8.754 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001329/0.4378, allocations: 434.5 kB / 0.6182 GB, free: 8.328 MB / 462.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.002338/0.4401, allocations: 1.449 MB / 0.6196 GB, free: 6.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.4405, allocations: 221.2 kB / 0.6198 GB, free: 6.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4405, allocations: 0 / 0.6198 GB, free: 6.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4407, allocations: 75.89 kB / 0.6199 GB, free: 6.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.4414, allocations: 113.7 kB / 0.62 GB, free: 6.426 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.258/1.7, allocations: 0.5821 GB / 1.202 GB, free: 30.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/1.7, allocations: 203.1 kB / 1.202 GB, free: 30.57 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003417/1.7, allocations: 164.8 kB / 1.202 GB, free: 30.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/1.7, allocations: 154.1 kB / 1.203 GB, free: 30.29 MB / 0.6387 GB Notification: Performance of SimCode: time 1.162e-06/1.7, allocations: 0 / 1.203 GB, free: 30.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/1.744, allocations: 19.36 MB / 1.221 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/13.59, allocations: 6.812 kB / 1.221 GB, free: 11.16 MB / 0.6387 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 18.772691243328154]