Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.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.001305/0.001305, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001585/0.001585, allocations: 216.1 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.24 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002297/0.002297, allocations: 66.72 kB / 467.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1188, allocations: 61.04 MB / 0.5162 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3925/0.5113, allocations: 136.6 MB / 0.6496 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006198/0.5175, allocations: 4.737 MB / 0.6542 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.5176, allocations: 4 kB / 0.6542 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.518, allocations: 63.58 kB / 0.6543 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.5201, allocations: 0.7394 MB / 0.655 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.5206, allocations: 166.2 kB / 0.6551 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.5212, allocations: 382.1 kB / 0.6555 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.5213, allocations: 9.812 kB / 0.6555 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.5216, allocations: 163.4 kB / 0.6557 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003739/0.522, allocations: 187.4 kB / 0.6558 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.522, allocations: 8 kB / 0.6559 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.5236, allocations: 0.7019 MB / 0.6565 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.5238, allocations: 47.75 kB / 0.6566 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.5239, allocations: 107.5 kB / 0.6567 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.525, allocations: 464.5 kB / 0.6571 GB, free: 3.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.525, allocations: 0 / 0.6571 GB, free: 3.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.525, allocations: 0 / 0.6571 GB, free: 3.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.525, allocations: 0 / 0.6571 GB, free: 3.461 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001152/0.5261, allocations: 0.5285 MB / 0.6576 GB, free: 2.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5262, allocations: 12.03 kB / 0.6577 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.969e-05/0.5263, allocations: 62.72 kB / 0.6577 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.5264, allocations: 28.8 kB / 0.6577 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.5268, allocations: 174.1 kB / 0.6579 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.527, allocations: 226.7 kB / 0.6581 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.5271, allocations: 26.06 kB / 0.6582 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.5277, allocations: 333.9 kB / 0.6585 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5277, allocations: 4 kB / 0.6585 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.5277, allocations: 8 kB / 0.6585 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.5277, allocations: 11.98 kB / 0.6585 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.5286, allocations: 0.7547 MB / 0.6592 GB, free: 1.168 MB / 494.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.00167/0.5303, allocations: 1.205 MB / 0.6604 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.5308, allocations: 163.8 kB / 0.6606 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.531, allocations: 85.41 kB / 0.6606 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.5325, allocations: 0.6842 MB / 0.6613 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.5326, allocations: 38.56 kB / 0.6613 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.5326, allocations: 0 / 0.6613 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007076/0.5333, allocations: 233.5 kB / 0.6616 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.5333, allocations: 55.41 kB / 0.6616 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.5336, allocations: 212.2 kB / 0.6618 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.5336, allocations: 25.7 kB / 0.6619 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.5338, allocations: 219.5 kB / 0.6621 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.5338, allocations: 59.52 kB / 0.6621 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5339, allocations: 78.08 kB / 0.6622 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.5341, allocations: 334.8 kB / 0.6625 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.5342, allocations: 48.84 kB / 0.6626 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.5346, allocations: 332.9 kB / 0.6629 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.5352, allocations: 430 kB / 0.6633 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.5353, allocations: 8 kB / 0.6633 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007276/0.536, allocations: 377.6 kB / 0.6637 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.536, allocations: 8.219 kB / 0.6637 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.536, allocations: 16 kB / 0.6637 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-05/0.5361, allocations: 15.94 kB / 0.6637 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.5365, allocations: 107.8 kB / 0.6638 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/0.5365, allocations: 25.48 kB / 0.6638 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.5367, allocations: 22.8 kB / 0.6638 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.5368, allocations: 28 kB / 0.6639 GB, free: 11.94 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001563/0.5369, allocations: 149.6 kB / 0.664 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.537, allocations: 15.91 kB / 0.664 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.5374, allocations: 167.9 kB / 0.6642 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.5374, allocations: 11.92 kB / 0.6642 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5374, allocations: 0 / 0.6642 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5374, allocations: 0 / 0.6642 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.5381, allocations: 415.8 kB / 0.6646 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5381, allocations: 3.938 kB / 0.6646 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.5382, allocations: 27.98 kB / 0.6646 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5382, allocations: 0 / 0.6646 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5383, allocations: 4 kB / 0.6646 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5383, allocations: 4 kB / 0.6646 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5383, allocations: 3.938 kB / 0.6646 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.5386, allocations: 217.1 kB / 0.6648 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.5387, allocations: 31.84 kB / 0.6649 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.5387, allocations: 0 / 0.6649 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.5389, allocations: 8 kB / 0.6649 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.5389, allocations: 11.97 kB / 0.6649 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.539, allocations: 12 kB / 0.6649 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001569/0.5391, allocations: 152.5 kB / 0.665 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5391, allocations: 0 / 0.665 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005677/0.5397, allocations: 91.88 kB / 0.6651 GB, free: 10.54 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008539/0.5405, allocations: 0.8077 MB / 0.6659 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.5409, allocations: 182 kB / 0.6661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5409, allocations: 0 / 0.6661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/0.541, allocations: 36.05 kB / 0.6661 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.5414, allocations: 45.36 kB / 0.6662 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.5447, allocations: 2.733 MB / 0.6688 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.5451, allocations: 0.7285 MB / 0.6696 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.5453, allocations: 54.81 kB / 0.6696 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.5454, allocations: 67.41 kB / 0.6697 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.5454, allocations: 0 / 0.6697 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.58, allocations: 5.646 MB / 0.6752 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.64, allocations: 8.219 kB / 0.6752 GB, free: 15.83 MB / 0.5137 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.568637436954305]