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.001773/0.001773, allocations: 114.3 kB / 18.49 MB, free: 4.566 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.002379/0.002379, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.467/1.467, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.22/0.22, allocations: 46.92 MB / 357.7 MB, free: 10.25 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.002219/0.002219, allocations: 79.88 kB / 0.4917 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1392, allocations: 66.05 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01468/0.1539, allocations: 11.35 MB / 0.5673 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.1684, allocations: 11.81 MB / 0.5788 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.1686, allocations: 0 / 0.5788 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.169, allocations: 75.5 kB / 0.5789 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.1793, allocations: 3.117 MB / 0.5819 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.1798, allocations: 156.5 kB / 0.5821 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006291/0.1861, allocations: 3.916 MB / 0.5859 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.1861, allocations: 16.39 kB / 0.5859 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.1864, allocations: 143.5 kB / 0.5861 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3196/0.5059, allocations: 7.153 MB / 0.593 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.506, allocations: 9.094 kB / 0.593 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008722/0.5148, allocations: 2.413 MB / 0.5954 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.5149, allocations: 48.72 kB / 0.5954 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.5151, allocations: 123.2 kB / 0.5956 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005725/0.5208, allocations: 1.726 MB / 0.5973 GB, free: 16.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5209, allocations: 1.281 kB / 0.5973 GB, free: 16.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5209, allocations: 0 / 0.5973 GB, free: 16.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.5209, allocations: 0.6562 kB / 0.5973 GB, free: 16.12 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.002892/0.5238, allocations: 0.9807 MB / 0.5982 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.5238, allocations: 9.781 kB / 0.5982 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.73e-05/0.5239, allocations: 7.781 kB / 0.5982 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.628e-05/0.5239, allocations: 66.81 kB / 0.5983 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006297/0.5246, allocations: 81.97 kB / 0.5984 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.525, allocations: 243.3 kB / 0.5986 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.525, allocations: 25.09 kB / 0.5986 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.525, allocations: 27.78 kB / 0.5987 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.5261, allocations: 485.5 kB / 0.5991 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5261, allocations: 0.5625 kB / 0.5991 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.5261, allocations: 13.97 kB / 0.5991 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.5262, allocations: 6.656 kB / 0.5991 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.5274, allocations: 0.6821 MB / 0.5998 GB, free: 15.15 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.006827/0.5343, allocations: 3.133 MB / 0.6029 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.535, allocations: 204.5 kB / 0.6031 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.5352, allocations: 75.81 kB / 0.6031 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08098/0.6162, allocations: 33.65 MB / 0.636 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008298/0.617, allocations: 358.9 kB / 0.6363 GB, free: 9.152 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.617, allocations: 0 / 0.6363 GB, free: 9.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002762/0.6198, allocations: 0.8779 MB / 0.6372 GB, free: 8.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002886/0.62, allocations: 489 kB / 0.6377 GB, free: 7.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.6202, allocations: 160.2 kB / 0.6378 GB, free: 7.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.6202, allocations: 31.47 kB / 0.6378 GB, free: 7.652 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.6204, allocations: 161.5 kB / 0.638 GB, free: 7.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.6205, allocations: 138 kB / 0.6381 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.6206, allocations: 89.77 kB / 0.6382 GB, free: 7.324 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.6207, allocations: 333.9 kB / 0.6385 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.6209, allocations: 69.42 kB / 0.6386 GB, free: 6.945 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.6212, allocations: 309.5 kB / 0.6389 GB, free: 6.562 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.6217, allocations: 432.7 kB / 0.6393 GB, free: 6.125 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6217, allocations: 0 / 0.6393 GB, free: 6.125 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006734/0.6224, allocations: 405.2 kB / 0.6397 GB, free: 5.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6224, allocations: 14.83 kB / 0.6397 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.6225, allocations: 12 kB / 0.6397 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.6225, allocations: 8 kB / 0.6397 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.6243, allocations: 348.9 kB / 0.6401 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008005/0.6251, allocations: 1.188 MB / 0.6412 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.6254, allocations: 22.77 kB / 0.6412 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.6254, allocations: 27.38 kB / 0.6413 GB, free: 4.25 MB / 462.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.0001898/0.6256, allocations: 163.8 kB / 0.6414 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.6257, allocations: 27.86 kB / 0.6414 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.627, allocations: 0.9361 MB / 0.6424 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.627, allocations: 8.75 kB / 0.6424 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.627, allocations: 7.75 kB / 0.6424 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.627, allocations: 4.203 kB / 0.6424 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.6286, allocations: 1.427 MB / 0.6438 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6286, allocations: 0 / 0.6438 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.6297, allocations: 143.6 kB / 0.6439 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-06/0.6297, allocations: 4 kB / 0.6439 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.6297, allocations: 8 kB / 0.6439 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003881/0.6301, allocations: 0.5899 MB / 0.6445 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.6301, allocations: 7.188 kB / 0.6445 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.6308, allocations: 0.5214 MB / 0.645 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.6309, allocations: 108.8 kB / 0.6451 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-05/0.631, allocations: 47.56 kB / 0.6452 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.6312, allocations: 15.98 kB / 0.6452 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.6313, allocations: 27.53 kB / 0.6452 GB, free: 456 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.6313, allocations: 12 kB / 0.6452 GB, free: 444 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003217/0.6316, allocations: 277.8 kB / 0.6455 GB, free: 172 kB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6316, allocations: 4 kB / 0.6455 GB, free: 168 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.002259/0.6339, allocations: 466.6 kB / 0.6459 GB, free: 15.71 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.002784/0.6367, allocations: 1.654 MB / 0.6475 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.6382, allocations: 395 kB / 0.6479 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6382, allocations: 0 / 0.6479 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007496/0.6389, allocations: 200.1 kB / 0.6481 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.6398, allocations: 120.9 kB / 0.6482 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.208/1.848, allocations: 0.54 GB / 1.188 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/1.848, allocations: 0.8235 MB / 1.189 GB, free: 145.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003893/1.848, allocations: 176 kB / 1.189 GB, free: 145.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/1.849, allocations: 159.4 kB / 1.189 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.233e-06/1.849, allocations: 0 / 1.189 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/1.887, allocations: 20.3 MB / 1.209 GB, free: 125.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/14.59, allocations: 11.94 kB / 1.209 GB, free: 125.3 MB / 0.6387 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: 23.952830847003497]