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.0008156/0.0008158, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 185.2 kB / 16.92 MB, free: 6.914 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.519/1.519, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.402/0.402, allocations: 43.56 MB / 315 MB, free: 8.754 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.000555/0.000555, allocations: 12 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3841/0.5163, allocations: 132.3 MB / 0.5623 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005261/0.5216, allocations: 4.684 MB / 0.5669 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.5217, allocations: 0 / 0.5669 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.5221, allocations: 51.72 kB / 0.5669 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.5235, allocations: 0.6583 MB / 0.5676 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.5239, allocations: 159.9 kB / 0.5677 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.5244, allocations: 446 kB / 0.5682 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.5245, allocations: 9.688 kB / 0.5682 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.5247, allocations: 151.4 kB / 0.5683 GB, free: 408 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.525, allocations: 203.3 kB / 0.5685 GB, free: 204 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.525, allocations: 11.94 kB / 0.5685 GB, free: 192 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.5262, allocations: 0.7057 MB / 0.5692 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.5263, allocations: 47.81 kB / 0.5693 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.5265, allocations: 133.2 kB / 0.5694 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006627/0.5271, allocations: 461.2 kB / 0.5698 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5271, allocations: 0 / 0.5698 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5271, allocations: 0 / 0.5698 GB, free: 14.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.5272, allocations: 3.938 kB / 0.5698 GB, free: 14.84 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.001001/0.5282, allocations: 0.546 MB / 0.5704 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5282, allocations: 12.03 kB / 0.5704 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.124e-05/0.5283, allocations: 62.73 kB / 0.5704 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.5285, allocations: 32.64 kB / 0.5705 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.5287, allocations: 224.7 kB / 0.5707 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.5289, allocations: 119.9 kB / 0.5708 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.5289, allocations: 20.38 kB / 0.5708 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.5294, allocations: 326.8 kB / 0.5711 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5294, allocations: 7.922 kB / 0.5711 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.5295, allocations: 15.94 kB / 0.5712 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.5295, allocations: 4 kB / 0.5712 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.5303, allocations: 0.7436 MB / 0.5719 GB, free: 12.61 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.001263/0.5316, allocations: 1.222 MB / 0.5731 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.532, allocations: 179.7 kB / 0.5732 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.5321, allocations: 90.48 kB / 0.5733 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00229/0.5344, allocations: 2.699 MB / 0.576 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.5344, allocations: 34.56 kB / 0.576 GB, free: 7.746 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.5344, allocations: 0 / 0.576 GB, free: 7.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006066/0.5351, allocations: 212.6 kB / 0.5762 GB, free: 7.535 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.5351, allocations: 59.41 kB / 0.5763 GB, free: 7.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.5353, allocations: 218.9 kB / 0.5765 GB, free: 7.242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5354, allocations: 25.7 kB / 0.5765 GB, free: 7.211 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.5355, allocations: 218.8 kB / 0.5767 GB, free: 6.992 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.5355, allocations: 51.34 kB / 0.5768 GB, free: 6.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.5356, allocations: 37.7 kB / 0.5768 GB, free: 6.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5357, allocations: 330.8 kB / 0.5771 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.5358, allocations: 48.84 kB / 0.5771 GB, free: 6.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.5361, allocations: 336 kB / 0.5775 GB, free: 6.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.5365, allocations: 426.1 kB / 0.5779 GB, free: 5.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5366, allocations: 4 kB / 0.5779 GB, free: 5.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005268/0.5371, allocations: 373 kB / 0.5782 GB, free: 5.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5371, allocations: 12 kB / 0.5782 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5371, allocations: 8.875 kB / 0.5783 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.205e-05/0.5372, allocations: 23.92 kB / 0.5783 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.5376, allocations: 111.8 kB / 0.5784 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.731e-05/0.5376, allocations: 17.11 kB / 0.5784 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.5378, allocations: 34.08 kB / 0.5784 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.5378, allocations: 24 kB / 0.5785 GB, free: 4.902 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.0001308/0.538, allocations: 149.7 kB / 0.5786 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.538, allocations: 15.81 kB / 0.5786 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.5383, allocations: 167.7 kB / 0.5788 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.5384, allocations: 0 / 0.5788 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5384, allocations: 0 / 0.5788 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5384, allocations: 3.938 kB / 0.5788 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.5389, allocations: 448 kB / 0.5792 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5389, allocations: 0 / 0.5792 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.5391, allocations: 31.97 kB / 0.5792 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5391, allocations: 0 / 0.5792 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5391, allocations: 0 / 0.5792 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5391, allocations: 4 kB / 0.5792 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5391, allocations: 0 / 0.5792 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.5393, allocations: 226.3 kB / 0.5795 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.5394, allocations: 108.9 kB / 0.5796 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.5395, allocations: 0 / 0.5796 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.5397, allocations: 16.67 kB / 0.5796 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.5397, allocations: 11.92 kB / 0.5796 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.5397, allocations: 11.98 kB / 0.5796 GB, free: 3.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.5399, allocations: 152.5 kB / 0.5797 GB, free: 3.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5399, allocations: 4 kB / 0.5797 GB, free: 3.465 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.5403, allocations: 84 kB / 0.5798 GB, free: 3.383 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.000693/0.541, allocations: 0.8258 MB / 0.5806 GB, free: 2.527 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.5413, allocations: 181.4 kB / 0.5808 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5413, allocations: 0.875 kB / 0.5808 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.5414, allocations: 39.98 kB / 0.5808 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.5418, allocations: 41.61 kB / 0.5809 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.5448, allocations: 2.806 MB / 0.5836 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.5451, allocations: 0.7323 MB / 0.5843 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002672/0.5454, allocations: 54.81 kB / 0.5844 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.5455, allocations: 59.42 kB / 0.5845 GB, free: 14.25 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5455, allocations: 4 kB / 0.5845 GB, free: 14.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.5634, allocations: 4.959 MB / 0.5893 GB, free: 9.367 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.5636, allocations: 193.9 kB / 0.5895 GB, free: 9.117 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.48, allocations: 0 / 0.5895 GB, free: 9.117 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