Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa",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.001297/0.001297, allocations: 96.14 kB / 15.87 MB, free: 16 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.001235/0.001235, allocations: 203 kB / 16.79 MB, free: 6.84 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.346/1.346, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.3247/0.3247, allocations: 43.49 MB / 313.5 MB, free: 8.305 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.001376/0.001375, allocations: 60.33 kB / 382.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09943, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3078/0.4072, allocations: 150.9 MB / 0.577 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004187/0.4115, allocations: 3.736 MB / 0.5806 GB, free: 1.336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.4116, allocations: 4 kB / 0.5806 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.4118, allocations: 37.64 kB / 0.5807 GB, free: 1.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.4118, allocations: 23.78 kB / 0.5807 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.4128, allocations: 383.4 kB / 0.581 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.421e-05/0.4129, allocations: 67.61 kB / 0.5811 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.4129, allocations: 4 kB / 0.5811 GB, free: 0.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.406e-05/0.413, allocations: 35.84 kB / 0.5811 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.4131, allocations: 27.86 kB / 0.5812 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.4131, allocations: 4 kB / 0.5812 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009599/0.414, allocations: 494.8 kB / 0.5817 GB, free: 288 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.4141, allocations: 11.98 kB / 0.5817 GB, free: 276 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.4141, allocations: 27.86 kB / 0.5817 GB, free: 248 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.4146, allocations: 315.3 kB / 0.582 GB, free: 15.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4146, allocations: 4 kB / 0.582 GB, free: 15.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4146, allocations: 0 / 0.582 GB, free: 15.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.4146, allocations: 0 / 0.582 GB, free: 15.93 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004736/0.4151, allocations: 411.1 kB / 0.5824 GB, free: 15.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4151, allocations: 8.031 kB / 0.5824 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.4152, allocations: 34.75 kB / 0.5824 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.4152, allocations: 12.78 kB / 0.5824 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4153, allocations: 183.4 kB / 0.5826 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.4153, allocations: 1.438 kB / 0.5826 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.4154, allocations: 8 kB / 0.5826 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.4155, allocations: 69.61 kB / 0.5827 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4155, allocations: 7.906 kB / 0.5827 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.4155, allocations: 4 kB / 0.5827 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4155, allocations: 0 / 0.5827 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.4156, allocations: 51.95 kB / 0.5828 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.416, allocations: 373.8 kB / 0.5831 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.917e-05/0.4162, allocations: 62.5 kB / 0.5832 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.4162, allocations: 24.84 kB / 0.5832 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/0.4178, allocations: 1.232 MB / 0.5844 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.4179, allocations: 38.56 kB / 0.5844 GB, free: 13.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.4179, allocations: 0 / 0.5844 GB, free: 13.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.006922/0.4248, allocations: 0.6673 MB / 0.5851 GB, free: 12.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.4249, allocations: 55.41 kB / 0.5851 GB, free: 12.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.4249, allocations: 105 kB / 0.5852 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.425, allocations: 29.7 kB / 0.5853 GB, free: 12.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.425, allocations: 88.33 kB / 0.5853 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.4251, allocations: 55.28 kB / 0.5854 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4252, allocations: 41.67 kB / 0.5854 GB, free: 11.94 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.4253, allocations: 318.8 kB / 0.5857 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.4255, allocations: 83.94 kB / 0.5858 GB, free: 11.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.4257, allocations: 98.52 kB / 0.5859 GB, free: 11.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.4261, allocations: 202.5 kB / 0.5861 GB, free: 11.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4261, allocations: 0.5625 kB / 0.5861 GB, free: 11.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005768/0.4267, allocations: 249.3 kB / 0.5863 GB, free: 10.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4267, allocations: 4 kB / 0.5864 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4267, allocations: 0 / 0.5864 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4267, allocations: 7.938 kB / 0.5864 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.4274, allocations: 56 kB / 0.5864 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4274, allocations: 11.88 kB / 0.5864 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.4279, allocations: 12 kB / 0.5864 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.428, allocations: 15.97 kB / 0.5865 GB, free: 10.87 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * Array equations: 0 * 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.0001061/0.4281, allocations: 121.7 kB / 0.5866 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.4281, allocations: 11.84 kB / 0.5866 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007378/0.4289, allocations: 349.4 kB / 0.5869 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4289, allocations: 0 / 0.5869 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4289, allocations: 0 / 0.5869 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4289, allocations: 0 / 0.5869 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4299, allocations: 0.7623 MB / 0.5877 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.43, allocations: 0 / 0.5877 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.4305, allocations: 43.97 kB / 0.5877 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4306, allocations: 0 / 0.5877 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.4306, allocations: 7.984 kB / 0.5877 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4306, allocations: 0 / 0.5877 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4306, allocations: 0 / 0.5877 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.4312, allocations: 363.2 kB / 0.5881 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.166e-05/0.4313, allocations: 105 kB / 0.5882 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.4313, allocations: 5.062 kB / 0.5882 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.4319, allocations: 11.98 kB / 0.5882 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.4319, allocations: 15.98 kB / 0.5882 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.432, allocations: 15.92 kB / 0.5882 GB, free: 8.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.946e-05/0.432, allocations: 85.41 kB / 0.5883 GB, free: 8.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.432, allocations: 4 kB / 0.5883 GB, free: 8.867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00052/0.4326, allocations: 99.92 kB / 0.5884 GB, free: 8.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * 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.001078/0.4336, allocations: 1.005 MB / 0.5894 GB, free: 7.734 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.4341, allocations: 214.3 kB / 0.5896 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4341, allocations: 128 / 0.5896 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.4344, allocations: 123.8 kB / 0.5897 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.4348, allocations: 35.84 kB / 0.5897 GB, free: 7.371 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/0.4356, allocations: 353.7 kB / 0.5901 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.4358, allocations: 0.6933 MB / 0.5907 GB, free: 6.273 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.4363, allocations: 72.73 kB / 0.5908 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.4365, allocations: 43.39 kB / 0.5908 GB, free: 6.164 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4365, allocations: 3.938 kB / 0.5908 GB, free: 6.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.454, allocations: 7.293 MB / 0.598 GB, free: 14.91 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.4542, allocations: 197.1 kB / 0.5982 GB, free: 14.65 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.357, allocations: 4 kB / 0.5982 GB, free: 14.64 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches