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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007102/0.007102, allocations: 101.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 190.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 222.6 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3173/0.3173, allocations: 43.5 MB / 313.5 MB, free: 8.52 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1155, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.39/0.5056, allocations: 134 MB / 0.5605 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.5111, allocations: 4.76 MB / 0.5652 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.5113, allocations: 0 / 0.5652 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.5117, allocations: 59.72 kB / 0.5652 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.5136, allocations: 0.6571 MB / 0.5659 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.514, allocations: 148.3 kB / 0.566 GB, free: 492 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005565/0.5146, allocations: 450 kB / 0.5664 GB, free: 40 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.5147, allocations: 13.69 kB / 0.5664 GB, free: 28 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.5149, allocations: 159.5 kB / 0.5666 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.5152, allocations: 191.3 kB / 0.5668 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.5152, allocations: 4 kB / 0.5668 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5168, allocations: 0.7173 MB / 0.5675 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.5169, allocations: 39.83 kB / 0.5675 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.517, allocations: 103.5 kB / 0.5676 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007501/0.5177, allocations: 469.2 kB / 0.5681 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.5178, allocations: 4 kB / 0.5681 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.5178, allocations: 0 / 0.5681 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.5178, allocations: 4 kB / 0.5681 GB, free: 14.36 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001124/0.5189, allocations: 0.5929 MB / 0.5686 GB, free: 13.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.519, allocations: 8.031 kB / 0.5687 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.694e-05/0.5191, allocations: 58.73 kB / 0.5687 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.5192, allocations: 32.59 kB / 0.5687 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.5195, allocations: 224.1 kB / 0.569 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.5196, allocations: 131.9 kB / 0.5691 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.5197, allocations: 24.38 kB / 0.5691 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.5202, allocations: 323.3 kB / 0.5694 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5202, allocations: 3.938 kB / 0.5694 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.5202, allocations: 16 kB / 0.5694 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.5203, allocations: 8 kB / 0.5694 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.5211, allocations: 0.7391 MB / 0.5702 GB, free: 12.07 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.001361/0.5225, allocations: 1.226 MB / 0.5714 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.5229, allocations: 164.5 kB / 0.5715 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.5231, allocations: 101.3 kB / 0.5716 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002529/0.5256, allocations: 2.699 MB / 0.5742 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5257, allocations: 35.12 kB / 0.5743 GB, free: 7.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.5257, allocations: 0 / 0.5743 GB, free: 7.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006725/0.5263, allocations: 224.5 kB / 0.5745 GB, free: 6.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.5264, allocations: 51.41 kB / 0.5745 GB, free: 6.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.5266, allocations: 210.9 kB / 0.5747 GB, free: 6.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.5266, allocations: 33.7 kB / 0.5748 GB, free: 6.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.5268, allocations: 210.8 kB / 0.575 GB, free: 6.461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.5268, allocations: 55.34 kB / 0.575 GB, free: 6.406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.527, allocations: 85.94 kB / 0.5751 GB, free: 6.316 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5272, allocations: 326.8 kB / 0.5754 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.5273, allocations: 56.83 kB / 0.5755 GB, free: 5.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.5276, allocations: 332 kB / 0.5758 GB, free: 5.473 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.528, allocations: 426.1 kB / 0.5762 GB, free: 4.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.528, allocations: 4 kB / 0.5762 GB, free: 4.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005195/0.5285, allocations: 378.6 kB / 0.5766 GB, free: 4.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.5286, allocations: 12 kB / 0.5766 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5286, allocations: 8 kB / 0.5766 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.5286, allocations: 15.94 kB / 0.5766 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.5289, allocations: 111.8 kB / 0.5767 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.529, allocations: 19.92 kB / 0.5767 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.5292, allocations: 28.3 kB / 0.5768 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.5292, allocations: 35.94 kB / 0.5768 GB, free: 4.312 MB / 446.1 MB 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.000132/0.5294, allocations: 145.7 kB / 0.5769 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.5294, allocations: 23.7 kB / 0.5769 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.5298, allocations: 155.8 kB / 0.5771 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.5298, allocations: 4 kB / 0.5771 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5298, allocations: 3.125 kB / 0.5771 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.5298, allocations: 3.984 kB / 0.5771 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.5303, allocations: 444.7 kB / 0.5775 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5303, allocations: 0 / 0.5775 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.5305, allocations: 24.05 kB / 0.5776 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5305, allocations: 8 kB / 0.5776 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5305, allocations: 0 / 0.5776 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.5305, allocations: 4 kB / 0.5776 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5305, allocations: 3.938 kB / 0.5776 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.5308, allocations: 217.6 kB / 0.5778 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.5309, allocations: 112.8 kB / 0.5779 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.5309, allocations: 4 kB / 0.5779 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.5311, allocations: 8.703 kB / 0.5779 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.5312, allocations: 7.984 kB / 0.5779 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.5312, allocations: 11.98 kB / 0.5779 GB, free: 3.043 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.5313, allocations: 144.5 kB / 0.5781 GB, free: 2.902 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5313, allocations: 0 / 0.5781 GB, free: 2.902 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004573/0.5318, allocations: 95.98 kB / 0.5781 GB, free: 2.809 MB / 446.1 MB 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.0007713/0.5325, allocations: 0.8255 MB / 0.5789 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.5328, allocations: 176.7 kB / 0.5791 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5328, allocations: 0 / 0.5791 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.5329, allocations: 40.17 kB / 0.5792 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.5333, allocations: 56.33 kB / 0.5792 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.5362, allocations: 2.76 MB / 0.5819 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.5365, allocations: 0.7361 MB / 0.5826 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.5368, allocations: 62.81 kB / 0.5827 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.676e-05/0.5369, allocations: 59.42 kB / 0.5827 GB, free: 13.7 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.5369, allocations: 0 / 0.5827 GB, free: 13.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.5526, allocations: 5.026 MB / 0.5876 GB, free: 8.73 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.5529, allocations: 201 kB / 0.5878 GB, free: 8.477 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.528, allocations: 4.062 kB / 0.5878 GB, free: 8.473 MB / 462.1 MB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches