Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001792/0.001792, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002304/0.002304, allocations: 219.8 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.92 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 75.88 kB / 0.497 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2979, allocations: 66.09 MB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01322/0.3112, allocations: 11.36 MB / 0.5726 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.3247, allocations: 11.87 MB / 0.5842 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3248, allocations: 3.938 kB / 0.5842 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.3251, allocations: 71.5 kB / 0.5843 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009022/0.3341, allocations: 3.142 MB / 0.5874 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.3346, allocations: 151 kB / 0.5875 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006108/0.3407, allocations: 3.967 MB / 0.5914 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.277e-05/0.3408, allocations: 12.58 kB / 0.5914 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.341, allocations: 147.5 kB / 0.5915 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.3516, allocations: 7.25 MB / 0.5986 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.309e-05/0.3516, allocations: 8 kB / 0.5986 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006173/0.3578, allocations: 2.439 MB / 0.601 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3579, allocations: 39.83 kB / 0.601 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.3582, allocations: 127.4 kB / 0.6012 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.3625, allocations: 1.718 MB / 0.6028 GB, free: 9.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3625, allocations: 0 / 0.6028 GB, free: 9.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3626, allocations: 4 kB / 0.6029 GB, free: 9.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3626, allocations: 0 / 0.6029 GB, free: 9.824 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.002322/0.3649, allocations: 0.9087 MB / 0.6037 GB, free: 8.883 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3649, allocations: 12.03 kB / 0.6038 GB, free: 8.871 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.845e-05/0.365, allocations: 16.84 kB / 0.6038 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.365, allocations: 58.73 kB / 0.6038 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.3656, allocations: 84.66 kB / 0.6039 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.366, allocations: 186.2 kB / 0.6041 GB, free: 8.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.366, allocations: 21.03 kB / 0.6041 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.3661, allocations: 28.12 kB / 0.6041 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009931/0.367, allocations: 494.5 kB / 0.6046 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3671, allocations: 3.938 kB / 0.6046 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.3671, allocations: 12 kB / 0.6046 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.3671, allocations: 15.92 kB / 0.6046 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.3683, allocations: 0.6966 MB / 0.6053 GB, free: 7.203 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.006557/0.3748, allocations: 2.777 MB / 0.608 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.3755, allocations: 212.7 kB / 0.6082 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3756, allocations: 73.38 kB / 0.6083 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07759/0.4532, allocations: 22.12 MB / 0.6299 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007885/0.454, allocations: 346.5 kB / 0.6302 GB, free: 13.45 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.454, allocations: 0 / 0.6302 GB, free: 13.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002725/0.4567, allocations: 0.8849 MB / 0.6311 GB, free: 12.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002712/0.457, allocations: 483.1 kB / 0.6315 GB, free: 11.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.4571, allocations: 154.4 kB / 0.6317 GB, free: 11.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.4572, allocations: 33.7 kB / 0.6317 GB, free: 11.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.4573, allocations: 172.3 kB / 0.6319 GB, free: 11.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4574, allocations: 126.9 kB / 0.632 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.4575, allocations: 90.12 kB / 0.6321 GB, free: 11.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4577, allocations: 326.8 kB / 0.6324 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.4578, allocations: 72.95 kB / 0.6325 GB, free: 10.99 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.4581, allocations: 310.1 kB / 0.6328 GB, free: 10.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.4587, allocations: 444 kB / 0.6332 GB, free: 10.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4587, allocations: 4 kB / 0.6332 GB, free: 10.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007133/0.4594, allocations: 409.6 kB / 0.6336 GB, free: 9.613 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.4594, allocations: 10.19 kB / 0.6336 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.4594, allocations: 8 kB / 0.6336 GB, free: 9.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4595, allocations: 12 kB / 0.6336 GB, free: 9.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.4613, allocations: 339.6 kB / 0.6339 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006822/0.462, allocations: 1.184 MB / 0.6351 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.4623, allocations: 27.89 kB / 0.6351 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.4623, allocations: 35.98 kB / 0.6352 GB, free: 7.961 MB / 478.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.0001677/0.4625, allocations: 155.8 kB / 0.6353 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.788e-05/0.4626, allocations: 27.86 kB / 0.6353 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.4638, allocations: 0.9754 MB / 0.6363 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.4639, allocations: 11.98 kB / 0.6363 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4639, allocations: 0 / 0.6363 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.4639, allocations: 7.938 kB / 0.6363 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.4653, allocations: 1.124 MB / 0.6374 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4653, allocations: 0 / 0.6374 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.4663, allocations: 147.9 kB / 0.6375 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.4663, allocations: 4 kB / 0.6376 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.4663, allocations: 12 kB / 0.6376 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003425/0.4667, allocations: 0.5859 MB / 0.6381 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4667, allocations: 7.938 kB / 0.6381 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006681/0.4674, allocations: 0.5386 MB / 0.6387 GB, free: 4.199 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.4674, allocations: 27.73 kB / 0.6387 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.4675, allocations: 51.56 kB / 0.6387 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.4678, allocations: 11.98 kB / 0.6388 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.4678, allocations: 31.95 kB / 0.6388 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.4678, allocations: 12 kB / 0.6388 GB, free: 4.066 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.4681, allocations: 271.1 kB / 0.6391 GB, free: 3.797 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4681, allocations: 0 / 0.6391 GB, free: 3.797 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00155/0.4697, allocations: 470.5 kB / 0.6395 GB, free: 3.336 MB / 478.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.002483/0.4722, allocations: 1.671 MB / 0.6411 GB, free: 1.602 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.4737, allocations: 389.8 kB / 0.6415 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4737, allocations: 0 / 0.6415 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007533/0.4745, allocations: 209.5 kB / 0.6417 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.4753, allocations: 125.1 kB / 0.6418 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.091/1.566, allocations: 0.54 GB / 1.182 GB, free: 24.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/1.566, allocations: 0.8235 MB / 1.183 GB, free: 23.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003669/1.566, allocations: 173 kB / 1.183 GB, free: 23.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/1.567, allocations: 159.4 kB / 1.183 GB, free: 23.07 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/1.567, allocations: 4 kB / 1.183 GB, free: 23.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/1.605, allocations: 20.61 MB / 1.203 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.9, allocations: 15.81 kB / 1.203 GB, free: 2.613 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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: 24.477525142021477]