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.001362/0.001362, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001461/0.001461, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.48/1.48, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2328/0.2328, allocations: 46.91 MB / 357.1 MB, free: 10.34 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.001979/0.001979, allocations: 71.89 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.138, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01621/0.1542, allocations: 11.33 MB / 0.5665 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.169, allocations: 11.81 MB / 0.578 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.1693, allocations: 4 kB / 0.578 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.1698, allocations: 75.48 kB / 0.5781 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.1826, allocations: 3.117 MB / 0.5811 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.1831, allocations: 158.9 kB / 0.5813 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006262/0.1894, allocations: 3.912 MB / 0.5851 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.1895, allocations: 16.39 kB / 0.5851 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.1897, allocations: 147.5 kB / 0.5853 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3012/0.4909, allocations: 7.155 MB / 0.5923 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-05/0.491, allocations: 10.19 kB / 0.5923 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005408/0.4964, allocations: 2.153 MB / 0.5944 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.4965, allocations: 46.55 kB / 0.5944 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.4968, allocations: 124.2 kB / 0.5945 GB, free: 16.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004151/0.5009, allocations: 1.544 MB / 0.596 GB, free: 16.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5009, allocations: 1.656 kB / 0.596 GB, free: 16.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5009, allocations: 0.5625 kB / 0.596 GB, free: 16.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.5009, allocations: 0.9062 kB / 0.596 GB, free: 16.73 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.002354/0.5033, allocations: 0.9404 MB / 0.597 GB, free: 16.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5033, allocations: 9.938 kB / 0.597 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.5034, allocations: 66.12 kB / 0.597 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006435/0.504, allocations: 79.83 kB / 0.5971 GB, free: 16.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.5045, allocations: 256.8 kB / 0.5974 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.5045, allocations: 20.19 kB / 0.5974 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.5046, allocations: 24.94 kB / 0.5974 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.5057, allocations: 485.6 kB / 0.5979 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5058, allocations: 5.25 kB / 0.5979 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.5058, allocations: 19.48 kB / 0.5979 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.5058, allocations: 7.25 kB / 0.5979 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.5072, allocations: 0.6813 MB / 0.5986 GB, free: 15.79 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.007641/0.5148, allocations: 4.299 MB / 0.6028 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.5155, allocations: 159.8 kB / 0.6029 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.5156, allocations: 59.14 kB / 0.603 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02681/0.5425, allocations: 16.39 MB / 0.619 GB, free: 17.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006699/0.5431, allocations: 325.9 kB / 0.6193 GB, free: 17.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.937e-06/0.5431, allocations: 4.516 kB / 0.6193 GB, free: 17.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001405/0.5445, allocations: 437.4 kB / 0.6197 GB, free: 17.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002589/0.5448, allocations: 476.5 kB / 0.6202 GB, free: 16.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.545, allocations: 193.1 kB / 0.6203 GB, free: 16.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.545, allocations: 32.36 kB / 0.6204 GB, free: 16.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.5451, allocations: 192.7 kB / 0.6206 GB, free: 16.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.5452, allocations: 110 kB / 0.6207 GB, free: 16.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.5453, allocations: 92.7 kB / 0.6207 GB, free: 16.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5454, allocations: 334.3 kB / 0.6211 GB, free: 16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.5455, allocations: 64.3 kB / 0.6211 GB, free: 16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.5458, allocations: 308.7 kB / 0.6214 GB, free: 15.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.5461, allocations: 426.3 kB / 0.6218 GB, free: 15.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5461, allocations: 2.5 kB / 0.6218 GB, free: 15.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006542/0.5468, allocations: 400.6 kB / 0.6222 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.5468, allocations: 8.688 kB / 0.6222 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5468, allocations: 10.28 kB / 0.6222 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.5469, allocations: 11.78 kB / 0.6222 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.5472, allocations: 111.4 kB / 0.6223 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.5472, allocations: 15.44 kB / 0.6224 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.5475, allocations: 54.53 kB / 0.6224 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.5475, allocations: 31.53 kB / 0.6224 GB, free: 15.27 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.0001579/0.5477, allocations: 159.7 kB / 0.6226 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.5478, allocations: 27.06 kB / 0.6226 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009041/0.5487, allocations: 0.7812 MB / 0.6234 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5487, allocations: 5 kB / 0.6234 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5487, allocations: 6.125 kB / 0.6234 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5487, allocations: 6.688 kB / 0.6234 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.55, allocations: 1.22 MB / 0.6246 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.55, allocations: 2.656 kB / 0.6246 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5501, allocations: 31.97 kB / 0.6246 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.5501, allocations: 8 kB / 0.6246 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5501, allocations: 8.703 kB / 0.6246 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5501, allocations: 5.797 kB / 0.6246 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5501, allocations: 10.81 kB / 0.6247 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.5506, allocations: 374.2 kB / 0.625 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-05/0.5506, allocations: 99.56 kB / 0.6251 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.5507, allocations: 48.19 kB / 0.6252 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.5509, allocations: 16.45 kB / 0.6252 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.551, allocations: 20.66 kB / 0.6252 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.551, allocations: 15.66 kB / 0.6252 GB, free: 13.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003297/0.5513, allocations: 292 kB / 0.6255 GB, free: 13.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5513, allocations: 1.406 kB / 0.6255 GB, free: 13.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001703/0.553, allocations: 430.1 kB / 0.6259 GB, free: 13.61 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.00207/0.5551, allocations: 1.45 MB / 0.6273 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.5555, allocations: 229.9 kB / 0.6275 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5555, allocations: 4.25 kB / 0.6275 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.537e-05/0.5556, allocations: 71.84 kB / 0.6276 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/0.5564, allocations: 116.5 kB / 0.6277 GB, free: 12.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.382/1.938, allocations: 0.5821 GB / 1.21 GB, free: 124.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.939, allocations: 0.8107 MB / 1.211 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005027/1.939, allocations: 163.3 kB / 1.211 GB, free: 123.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/1.939, allocations: 147.4 kB / 1.211 GB, free: 123.4 MB / 0.6387 GB Notification: Performance of SimCode: time 2.806e-06/1.939, allocations: 0 / 1.211 GB, free: 123.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07025/2.01, allocations: 18.43 MB / 1.229 GB, free: 105.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.576/11.59, allocations: 1.875 kB / 1.229 GB, free: 105.2 MB / 0.6387 GB " [Timeout remaining time 648] (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: 17.05231591896154]