Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001853/0.001853, allocations: 118.3 kB / 18.49 MB, free: 4.559 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.002287/0.002287, allocations: 219 kB / 21.46 MB, free: 1.605 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.555/1.555, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2287/0.2287, allocations: 44.9 MB / 355.8 MB, free: 12.34 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_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.002067/0.002067, allocations: 75.89 kB / 0.4886 GB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1405, allocations: 65.42 MB / 0.5525 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01488/0.1553, allocations: 11.34 MB / 0.5636 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.1693, allocations: 11.81 MB / 0.5751 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1695, allocations: 7.938 kB / 0.5751 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.1698, allocations: 75.55 kB / 0.5752 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009884/0.1797, allocations: 3.113 MB / 0.5782 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.1802, allocations: 151.1 kB / 0.5784 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006023/0.1862, allocations: 3.924 MB / 0.5822 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.1862, allocations: 12.39 kB / 0.5822 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1864, allocations: 139.6 kB / 0.5823 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.1971, allocations: 7.168 MB / 0.5893 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.1972, allocations: 12 kB / 0.5893 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006738/0.2039, allocations: 2.123 MB / 0.5914 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.2041, allocations: 51.77 kB / 0.5915 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.2043, allocations: 127.4 kB / 0.5916 GB, free: 1.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.2092, allocations: 1.543 MB / 0.5931 GB, free: 396 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2092, allocations: 0 / 0.5931 GB, free: 396 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2092, allocations: 0 / 0.5931 GB, free: 396 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.2093, allocations: 0 / 0.5931 GB, free: 396 kB / 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.3257/0.5349, allocations: 0.9372 MB / 0.594 GB, free: 41.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.535, allocations: 9.25 kB / 0.594 GB, free: 41.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.439e-05/0.535, allocations: 7.594 kB / 0.594 GB, free: 41.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.5351, allocations: 60.94 kB / 0.5941 GB, free: 41.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.5357, allocations: 83.98 kB / 0.5942 GB, free: 41.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.5361, allocations: 244.2 kB / 0.5944 GB, free: 41.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.5361, allocations: 19.66 kB / 0.5944 GB, free: 41.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.5362, allocations: 27.53 kB / 0.5944 GB, free: 41.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.5372, allocations: 487.3 kB / 0.5949 GB, free: 41.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5372, allocations: 0.625 kB / 0.5949 GB, free: 41.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.5373, allocations: 11.91 kB / 0.5949 GB, free: 41.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.5373, allocations: 6.812 kB / 0.5949 GB, free: 41.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.5385, allocations: 0.6835 MB / 0.5956 GB, free: 41.04 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.006729/0.5452, allocations: 3.099 MB / 0.5986 GB, free: 39.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.546, allocations: 212.9 kB / 0.5988 GB, free: 39.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.5461, allocations: 68.55 kB / 0.5989 GB, free: 39.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09483/0.641, allocations: 30.78 MB / 0.6289 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009593/0.6419, allocations: 341.9 kB / 0.6293 GB, free: 19.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/0.6419, allocations: 0 / 0.6293 GB, free: 19.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.00411/0.646, allocations: 0.9906 MB / 0.6302 GB, free: 18.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6461, allocations: 487 kB / 0.6307 GB, free: 18.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.6463, allocations: 163.4 kB / 0.6309 GB, free: 17.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.6463, allocations: 33.7 kB / 0.6309 GB, free: 17.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.6464, allocations: 168.2 kB / 0.6311 GB, free: 17.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/0.6465, allocations: 144.3 kB / 0.6312 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.6466, allocations: 94.19 kB / 0.6313 GB, free: 17.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.6467, allocations: 330.8 kB / 0.6316 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.6468, allocations: 77.08 kB / 0.6317 GB, free: 17.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.6471, allocations: 311 kB / 0.632 GB, free: 16.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.6476, allocations: 448.1 kB / 0.6324 GB, free: 16.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6476, allocations: 0 / 0.6324 GB, free: 16.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008961/0.6485, allocations: 452.6 kB / 0.6328 GB, free: 15.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.6486, allocations: 8 kB / 0.6328 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.6486, allocations: 8 kB / 0.6328 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.6513, allocations: 325.4 kB / 0.6332 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.6517, allocations: 103.8 kB / 0.6333 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005339/0.6523, allocations: 1.223 MB / 0.6344 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.6526, allocations: 25.45 kB / 0.6345 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.6527, allocations: 31.98 kB / 0.6345 GB, free: 13.91 MB / 446.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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.6529, allocations: 159.8 kB / 0.6347 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.653, allocations: 23.91 kB / 0.6347 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.6544, allocations: 1.052 MB / 0.6357 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.6545, allocations: 11.98 kB / 0.6357 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6545, allocations: 3.938 kB / 0.6357 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.6545, allocations: 4 kB / 0.6357 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.656, allocations: 1.556 MB / 0.6372 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.656, allocations: 4 kB / 0.6372 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.6562, allocations: 43.86 kB / 0.6373 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.6579, allocations: 245.5 kB / 0.6375 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.6579, allocations: 15.92 kB / 0.6375 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005058/0.6584, allocations: 1.266 MB / 0.6388 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6584, allocations: 4.031 kB / 0.6388 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.6592, allocations: 0.5943 MB / 0.6394 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.6593, allocations: 112.8 kB / 0.6395 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.6594, allocations: 55.5 kB / 0.6395 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.6597, allocations: 11.98 kB / 0.6395 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.6597, allocations: 23.97 kB / 0.6396 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.6598, allocations: 17.62 kB / 0.6396 GB, free: 8.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.6601, allocations: 275.1 kB / 0.6398 GB, free: 8.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6601, allocations: 0 / 0.6398 GB, free: 8.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001844/0.662, allocations: 450.6 kB / 0.6403 GB, free: 7.711 MB / 446.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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002666/0.6646, allocations: 1.706 MB / 0.6419 GB, free: 6.008 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008219/0.6654, allocations: 363.9 kB / 0.6423 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6655, allocations: 0 / 0.6423 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.6657, allocations: 211.5 kB / 0.6425 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6668, allocations: 124 kB / 0.6426 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.278/1.945, allocations: 0.495 GB / 1.138 GB, free: 175 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/1.946, allocations: 0.8273 MB / 1.138 GB, free: 174.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003883/1.946, allocations: 164.1 kB / 1.139 GB, free: 174 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/1.946, allocations: 171.4 kB / 1.139 GB, free: 173.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/1.946, allocations: 0 / 1.139 GB, free: 173.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/1.985, allocations: 20.12 MB / 1.158 GB, free: 154 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/15.28, allocations: 11.88 kB / 1.158 GB, free: 154 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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: 23.887465914012864]