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.001147/0.001147, allocations: 102.4 kB / 15.98 MB, free: 6.348 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.001149/0.001149, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.686/1.686, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.3726/0.3726, allocations: 43.5 MB / 313.6 MB, free: 8.551 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.001615/0.001615, allocations: 64.47 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1493, allocations: 57.79 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4032/0.5526, allocations: 134.2 MB / 0.5609 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.5571, allocations: 4.693 MB / 0.5654 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.5572, allocations: 0 / 0.5654 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.5576, allocations: 55.72 kB / 0.5655 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.5594, allocations: 0.6765 MB / 0.5662 GB, free: 416 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.5597, allocations: 151 kB / 0.5663 GB, free: 272 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.5602, allocations: 378.2 kB / 0.5667 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.5603, allocations: 9.688 kB / 0.5667 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.5605, allocations: 163.4 kB / 0.5668 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.5607, allocations: 187.3 kB / 0.567 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.5608, allocations: 12 kB / 0.567 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.5619, allocations: 0.6979 MB / 0.5677 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.562, allocations: 51.8 kB / 0.5677 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.5621, allocations: 107.5 kB / 0.5678 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.5627, allocations: 469.2 kB / 0.5683 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5627, allocations: 0 / 0.5683 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5627, allocations: 4 kB / 0.5683 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.5628, allocations: 3.984 kB / 0.5683 GB, free: 14.21 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.000929/0.5637, allocations: 0.589 MB / 0.5689 GB, free: 13.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5637, allocations: 11.89 kB / 0.5689 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.5638, allocations: 66.72 kB / 0.569 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.5639, allocations: 28.66 kB / 0.569 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.5642, allocations: 228.6 kB / 0.5692 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.5643, allocations: 127.9 kB / 0.5693 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.5643, allocations: 24.36 kB / 0.5693 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.5648, allocations: 326.7 kB / 0.5697 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5648, allocations: 4 kB / 0.5697 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.5648, allocations: 12 kB / 0.5697 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.5648, allocations: 10.36 kB / 0.5697 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.5656, allocations: 0.7352 MB / 0.5704 GB, free: 11.93 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.001122/0.5667, allocations: 1.23 MB / 0.5716 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.567, allocations: 167.8 kB / 0.5718 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.5672, allocations: 101.3 kB / 0.5719 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/0.5692, allocations: 2.691 MB / 0.5745 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5692, allocations: 38.56 kB / 0.5745 GB, free: 7.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.5692, allocations: 0 / 0.5745 GB, free: 7.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006293/0.5698, allocations: 216.6 kB / 0.5747 GB, free: 6.848 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.5699, allocations: 55.41 kB / 0.5748 GB, free: 6.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.5701, allocations: 214.9 kB / 0.575 GB, free: 6.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.5701, allocations: 25.7 kB / 0.575 GB, free: 6.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.5703, allocations: 218.8 kB / 0.5752 GB, free: 6.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.5703, allocations: 55.34 kB / 0.5753 GB, free: 6.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5704, allocations: 81.94 kB / 0.5753 GB, free: 6.172 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5705, allocations: 326.8 kB / 0.5757 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.5706, allocations: 48.84 kB / 0.5757 GB, free: 5.797 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.5709, allocations: 332 kB / 0.576 GB, free: 5.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.5713, allocations: 434.1 kB / 0.5764 GB, free: 4.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5713, allocations: 4 kB / 0.5764 GB, free: 4.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005197/0.5718, allocations: 377.3 kB / 0.5768 GB, free: 4.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.5719, allocations: 8 kB / 0.5768 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.5719, allocations: 15.98 kB / 0.5768 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.5719, allocations: 19.88 kB / 0.5768 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.5722, allocations: 111.8 kB / 0.5769 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.5723, allocations: 23.92 kB / 0.577 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.5725, allocations: 31.84 kB / 0.577 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.5725, allocations: 24 kB / 0.577 GB, free: 4.168 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.0001084/0.5726, allocations: 145.7 kB / 0.5772 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.5727, allocations: 23.72 kB / 0.5772 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.573, allocations: 159.8 kB / 0.5773 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.573, allocations: 0 / 0.5773 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.573, allocations: 0 / 0.5773 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.573, allocations: 0 / 0.5773 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.5735, allocations: 443.9 kB / 0.5778 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5735, allocations: 0 / 0.5778 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.5736, allocations: 36.03 kB / 0.5778 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5736, allocations: 0 / 0.5778 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.5736, allocations: 8 kB / 0.5778 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5736, allocations: 0 / 0.5778 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5737, allocations: 7.875 kB / 0.5778 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.5739, allocations: 214.2 kB / 0.578 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.5739, allocations: 108.8 kB / 0.5781 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.574, allocations: 3.984 kB / 0.5781 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.5742, allocations: 12 kB / 0.5781 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.5742, allocations: 7.984 kB / 0.5781 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5742, allocations: 7.984 kB / 0.5782 GB, free: 2.898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.5743, allocations: 148.5 kB / 0.5783 GB, free: 2.754 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5743, allocations: 0 / 0.5783 GB, free: 2.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004292/0.5748, allocations: 91.98 kB / 0.5784 GB, free: 2.664 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.000664/0.5754, allocations: 0.8153 MB / 0.5792 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003071/0.5757, allocations: 184.4 kB / 0.5794 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5758, allocations: 0 / 0.5794 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.5758, allocations: 41.61 kB / 0.5794 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.5762, allocations: 52.45 kB / 0.5794 GB, free: 1.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.5786, allocations: 2.764 MB / 0.5821 GB, free: 14.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.5788, allocations: 0.7284 MB / 0.5829 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.5791, allocations: 58.81 kB / 0.5829 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.5792, allocations: 67.41 kB / 0.583 GB, free: 13.57 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5792, allocations: 0 / 0.583 GB, free: 13.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.6112, allocations: 5.131 MB / 0.588 GB, free: 8.508 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.6115, allocations: 194.8 kB / 0.5882 GB, free: 8.258 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.51, allocations: 4 kB / 0.5882 GB, free: 8.254 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