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.001209/0.001208, allocations: 105.3 kB / 16.27 MB, free: 5.93 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.001185/0.001185, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.382/1.382, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2031/0.2031, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001682/0.001682, allocations: 63.59 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09307, allocations: 57.78 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3476/0.4407, allocations: 136.1 MB / 0.5632 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.4454, allocations: 4.719 MB / 0.5678 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.4456, allocations: 2.531 kB / 0.5678 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.446, allocations: 58.64 kB / 0.5679 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.4479, allocations: 0.7307 MB / 0.5686 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.4483, allocations: 161.2 kB / 0.5688 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.4489, allocations: 372.2 kB / 0.5691 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.449, allocations: 11.84 kB / 0.5691 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.4493, allocations: 156.4 kB / 0.5693 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.4495, allocations: 194.7 kB / 0.5695 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.4496, allocations: 7.125 kB / 0.5695 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.4509, allocations: 0.6845 MB / 0.5701 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.451, allocations: 42.86 kB / 0.5702 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.4511, allocations: 109.5 kB / 0.5703 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.4523, allocations: 461.7 kB / 0.5707 GB, free: 12.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4523, allocations: 5.297 kB / 0.5707 GB, free: 12.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4523, allocations: 0 / 0.5707 GB, free: 12.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.4523, allocations: 1.203 kB / 0.5707 GB, free: 12.84 MB / 430.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.001274/0.4536, allocations: 0.5963 MB / 0.5713 GB, free: 12.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4537, allocations: 16.58 kB / 0.5713 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.32e-05/0.4537, allocations: 56.94 kB / 0.5714 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.4539, allocations: 23.88 kB / 0.5714 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.4542, allocations: 223.1 kB / 0.5716 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.4544, allocations: 130.2 kB / 0.5717 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.4544, allocations: 19.91 kB / 0.5718 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.4549, allocations: 329.5 kB / 0.5721 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4549, allocations: 0 / 0.5721 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.4549, allocations: 11.25 kB / 0.5721 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.455, allocations: 10.81 kB / 0.5721 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.4556, allocations: 0.7439 MB / 0.5728 GB, free: 11.91 MB / 430.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.001214/0.4569, allocations: 1.222 MB / 0.574 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.4572, allocations: 172.7 kB / 0.5742 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4574, allocations: 92.25 kB / 0.5743 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002038/0.4594, allocations: 2.695 MB / 0.5769 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4595, allocations: 36.08 kB / 0.5769 GB, free: 8.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4595, allocations: 4 kB / 0.5769 GB, free: 8.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005627/0.46, allocations: 215 kB / 0.5771 GB, free: 8.027 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.4601, allocations: 55.34 kB / 0.5772 GB, free: 7.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.4603, allocations: 223.4 kB / 0.5774 GB, free: 7.844 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4603, allocations: 25.7 kB / 0.5774 GB, free: 7.812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4604, allocations: 213.8 kB / 0.5776 GB, free: 7.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.4604, allocations: 49.45 kB / 0.5777 GB, free: 7.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/0.4605, allocations: 89.36 kB / 0.5778 GB, free: 7.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.4606, allocations: 331.5 kB / 0.5781 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/0.4607, allocations: 47.28 kB / 0.5781 GB, free: 7.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.4609, allocations: 333.3 kB / 0.5784 GB, free: 6.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.4613, allocations: 431.8 kB / 0.5789 GB, free: 6.492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.4613, allocations: 5.562 kB / 0.5789 GB, free: 6.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004694/0.4618, allocations: 376.1 kB / 0.5792 GB, free: 6.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4618, allocations: 14.69 kB / 0.5792 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4618, allocations: 10.34 kB / 0.5792 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.4618, allocations: 20.64 kB / 0.5793 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.4621, allocations: 108.1 kB / 0.5794 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.4621, allocations: 19.08 kB / 0.5794 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.4624, allocations: 17.28 kB / 0.5794 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.4624, allocations: 27.64 kB / 0.5794 GB, free: 6.367 MB / 430.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.0001145/0.4625, allocations: 154.1 kB / 0.5796 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.4626, allocations: 26.16 kB / 0.5796 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.4628, allocations: 151.2 kB / 0.5797 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4628, allocations: 3.5 kB / 0.5798 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.4629, allocations: 11.19 kB / 0.5798 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4629, allocations: 2.188 kB / 0.5798 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.4633, allocations: 441.6 kB / 0.5802 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4633, allocations: 3.938 kB / 0.5802 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.4635, allocations: 26.5 kB / 0.5802 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4635, allocations: 5.094 kB / 0.5802 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4635, allocations: 0 / 0.5802 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4635, allocations: 2.469 kB / 0.5802 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4635, allocations: 4.062 kB / 0.5802 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.4637, allocations: 225.4 kB / 0.5804 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.4638, allocations: 99.86 kB / 0.5805 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.4638, allocations: 11.16 kB / 0.5805 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.464, allocations: 10.92 kB / 0.5806 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.4641, allocations: 14.05 kB / 0.5806 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4641, allocations: 6.469 kB / 0.5806 GB, free: 5.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.968e-05/0.4642, allocations: 149.3 kB / 0.5807 GB, free: 5.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4642, allocations: 0 / 0.5807 GB, free: 5.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004366/0.4646, allocations: 95.8 kB / 0.5808 GB, free: 5.473 MB / 430.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.0006011/0.4652, allocations: 0.8058 MB / 0.5816 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.4655, allocations: 186.5 kB / 0.5818 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4655, allocations: 2.625 kB / 0.5818 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.4656, allocations: 37.78 kB / 0.5818 GB, free: 4.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.466, allocations: 54 kB / 0.5819 GB, free: 4.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.4683, allocations: 2.708 MB / 0.5845 GB, free: 2.586 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.4685, allocations: 0.736 MB / 0.5852 GB, free: 1.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002377/0.4688, allocations: 55.25 kB / 0.5853 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.4689, allocations: 67.06 kB / 0.5853 GB, free: 1.828 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4689, allocations: 4 kB / 0.5853 GB, free: 1.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.4954, allocations: 5.22 MB / 0.5904 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/8.96, allocations: 3.938 kB / 0.5905 GB, free: 15.12 MB / 446.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","/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) Reference file matches