Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_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.001197/0.001197, allocations: 109.9 kB / 17.33 MB, free: 6 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.0013/0.0013, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.17 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 64.27 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1582, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4977/0.656, allocations: 149.4 MB / 0.6037 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.6576, allocations: 1.188 MB / 0.6048 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.6576, allocations: 0 / 0.6048 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.6579, allocations: 46.28 kB / 0.6049 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.658, allocations: 31.72 kB / 0.6049 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.6596, allocations: 397.9 kB / 0.6053 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.6597, allocations: 63.61 kB / 0.6054 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.6598, allocations: 7.984 kB / 0.6054 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.6599, allocations: 31.86 kB / 0.6054 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.6599, allocations: 27.92 kB / 0.6054 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.66, allocations: 0 / 0.6054 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.6612, allocations: 498.8 kB / 0.6059 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.6612, allocations: 7.938 kB / 0.6059 GB, free: 9.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.6613, allocations: 31.86 kB / 0.6059 GB, free: 9.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007168/0.662, allocations: 315.3 kB / 0.6062 GB, free: 9.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.662, allocations: 0 / 0.6062 GB, free: 9.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.662, allocations: 3.938 kB / 0.6062 GB, free: 9.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.662, allocations: 4 kB / 0.6062 GB, free: 9.043 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000661/0.6627, allocations: 400.1 kB / 0.6066 GB, free: 8.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6628, allocations: 12.03 kB / 0.6066 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.6628, allocations: 46.61 kB / 0.6067 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.6629, allocations: 5.125 kB / 0.6067 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.663, allocations: 174.9 kB / 0.6069 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.663, allocations: 4 kB / 0.6069 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.6631, allocations: 4 kB / 0.6069 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.6632, allocations: 73.67 kB / 0.6069 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6633, allocations: 0 / 0.6069 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6633, allocations: 4 kB / 0.6069 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6633, allocations: 0 / 0.6069 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.6634, allocations: 51.89 kB / 0.607 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.6639, allocations: 385.8 kB / 0.6074 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.664, allocations: 59.42 kB / 0.6074 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.6641, allocations: 28.97 kB / 0.6074 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001931/0.666, allocations: 1.232 MB / 0.6086 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.666, allocations: 38.48 kB / 0.6087 GB, free: 6.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.485e-06/0.666, allocations: 3.938 kB / 0.6087 GB, free: 6.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007157/0.6732, allocations: 0.6659 MB / 0.6093 GB, free: 5.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.6733, allocations: 55.34 kB / 0.6094 GB, free: 5.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.6733, allocations: 105.8 kB / 0.6095 GB, free: 5.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.6734, allocations: 25.7 kB / 0.6095 GB, free: 5.238 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.6734, allocations: 92.33 kB / 0.6096 GB, free: 5.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.6735, allocations: 47.28 kB / 0.6096 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.6736, allocations: 45.58 kB / 0.6097 GB, free: 5.047 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6738, allocations: 322.8 kB / 0.61 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.674, allocations: 83.94 kB / 0.6101 GB, free: 4.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.6742, allocations: 102.5 kB / 0.6102 GB, free: 4.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.6746, allocations: 205.7 kB / 0.6104 GB, free: 4.324 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6746, allocations: 3.938 kB / 0.6104 GB, free: 4.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005467/0.6752, allocations: 241.5 kB / 0.6106 GB, free: 4.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6752, allocations: 6.969 kB / 0.6106 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6752, allocations: 0 / 0.6106 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6752, allocations: 0 / 0.6106 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.6759, allocations: 51.94 kB / 0.6107 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.6759, allocations: 4 kB / 0.6107 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.6765, allocations: 19.98 kB / 0.6107 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.6765, allocations: 10.31 kB / 0.6107 GB, free: 3.992 MB / 446.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.0001288/0.6766, allocations: 125.7 kB / 0.6108 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.6767, allocations: 11.91 kB / 0.6108 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/0.6775, allocations: 351.8 kB / 0.6112 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6776, allocations: 4 kB / 0.6112 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6776, allocations: 0 / 0.6112 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6776, allocations: 0 / 0.6112 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6786, allocations: 0.763 MB / 0.6119 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6787, allocations: 4 kB / 0.6119 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.6793, allocations: 47.84 kB / 0.612 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6793, allocations: 0 / 0.612 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.6793, allocations: 11.98 kB / 0.612 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.6793, allocations: 0 / 0.612 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6793, allocations: 3.938 kB / 0.612 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.6799, allocations: 351.3 kB / 0.6123 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/0.68, allocations: 105 kB / 0.6124 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.6801, allocations: 0 / 0.6124 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.6806, allocations: 19.55 kB / 0.6124 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.6807, allocations: 19.86 kB / 0.6124 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.6807, allocations: 7.984 kB / 0.6125 GB, free: 2.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.035e-05/0.6808, allocations: 83.28 kB / 0.6125 GB, free: 1.973 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6808, allocations: 0 / 0.6125 GB, free: 1.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004518/0.6813, allocations: 99.92 kB / 0.6126 GB, free: 1.875 MB / 446.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.001266/0.6825, allocations: 1.008 MB / 0.6136 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005122/0.683, allocations: 215.8 kB / 0.6138 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6831, allocations: 0 / 0.6138 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.6833, allocations: 119.9 kB / 0.6139 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.6837, allocations: 37.22 kB / 0.614 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.6846, allocations: 366.4 kB / 0.6143 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.6849, allocations: 0.7041 MB / 0.615 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.6854, allocations: 64.75 kB / 0.6151 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.6856, allocations: 43.39 kB / 0.6151 GB, free: 15.24 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.6856, allocations: 0 / 0.6151 GB, free: 15.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.7053, allocations: 7.458 MB / 0.6224 GB, free: 7.867 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.7056, allocations: 185.2 kB / 0.6226 GB, free: 7.617 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.667, allocations: 0 / 0.6226 GB, free: 7.617 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches