Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003071/0.003071, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 46.91 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 71.89 kB / 0.4909 GB, free: 7.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1404, allocations: 65.99 MB / 0.5554 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4495/0.5899, allocations: 154.8 MB / 0.7066 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.5915, allocations: 1.197 MB / 0.7077 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.5916, allocations: 0 / 0.7077 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.5918, allocations: 39.81 kB / 0.7078 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.5918, allocations: 37.02 kB / 0.7078 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5931, allocations: 429.9 kB / 0.7082 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.5932, allocations: 75.59 kB / 0.7083 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.5933, allocations: 4 kB / 0.7083 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.5934, allocations: 31.86 kB / 0.7083 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.5934, allocations: 31.84 kB / 0.7084 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.5934, allocations: 4 kB / 0.7084 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.5945, allocations: 0.5107 MB / 0.7089 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.5946, allocations: 8 kB / 0.7089 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.5946, allocations: 31.84 kB / 0.7089 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.5951, allocations: 310.7 kB / 0.7092 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5951, allocations: 0 / 0.7092 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5951, allocations: 0 / 0.7092 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.5951, allocations: 2.812 kB / 0.7092 GB, free: 3.965 MB / 0.5137 GB 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.0006334/0.5958, allocations: 410.8 kB / 0.7096 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.5958, allocations: 8.031 kB / 0.7096 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.5959, allocations: 42.73 kB / 0.7096 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.5959, allocations: 9.125 kB / 0.7096 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.596, allocations: 178.8 kB / 0.7098 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5961, allocations: 7.984 kB / 0.7098 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.5961, allocations: 11.94 kB / 0.7098 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.5962, allocations: 65.67 kB / 0.7099 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5962, allocations: 0 / 0.7099 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.5962, allocations: 3.984 kB / 0.7099 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5963, allocations: 0 / 0.7099 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.473e-05/0.5963, allocations: 51.97 kB / 0.7099 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.5968, allocations: 379.7 kB / 0.7103 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.5969, allocations: 58.56 kB / 0.7104 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.597, allocations: 20.84 kB / 0.7104 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001956/0.5989, allocations: 1.225 MB / 0.7116 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.599, allocations: 34.5 kB / 0.7116 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.599, allocations: 0 / 0.7116 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.007353/0.6063, allocations: 0.6628 MB / 0.7123 GB, free: 396 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.6064, allocations: 51.41 kB / 0.7123 GB, free: 332 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.6065, allocations: 105.8 kB / 0.7124 GB, free: 216 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.6065, allocations: 29.7 kB / 0.7124 GB, free: 180 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.6066, allocations: 92.31 kB / 0.7125 GB, free: 84 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.6066, allocations: 47.59 kB / 0.7126 GB, free: 36 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.6068, allocations: 41.75 kB / 0.7126 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6069, allocations: 322.8 kB / 0.7129 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.6072, allocations: 83.88 kB / 0.713 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.6074, allocations: 111.9 kB / 0.7131 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.6079, allocations: 197.5 kB / 0.7133 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.6079, allocations: 7.922 kB / 0.7133 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006075/0.6085, allocations: 237.5 kB / 0.7135 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6085, allocations: 12.06 kB / 0.7135 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6085, allocations: 0 / 0.7135 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.6085, allocations: 0 / 0.7135 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.6093, allocations: 56.75 kB / 0.7136 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6093, allocations: 0 / 0.7136 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/0.6099, allocations: 23.92 kB / 0.7136 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.6099, allocations: 11.98 kB / 0.7136 GB, free: 14.91 MB / 0.5294 GB 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.000134/0.61, allocations: 124 kB / 0.7137 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.6101, allocations: 7.953 kB / 0.7138 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008493/0.6109, allocations: 351.6 kB / 0.7141 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.611, allocations: 4 kB / 0.7141 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.611, allocations: 0 / 0.7141 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.611, allocations: 0 / 0.7141 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.6122, allocations: 0.7681 MB / 0.7148 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6122, allocations: 0 / 0.7148 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.6128, allocations: 39.97 kB / 0.7149 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.6129, allocations: 4 kB / 0.7149 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.6129, allocations: 7.984 kB / 0.7149 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.136e-06/0.6129, allocations: 7.938 kB / 0.7149 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6129, allocations: 3.938 kB / 0.7149 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.6136, allocations: 353.1 kB / 0.7152 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6137, allocations: 109 kB / 0.7153 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.6137, allocations: 0 / 0.7153 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.6143, allocations: 15.98 kB / 0.7154 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.6144, allocations: 11.92 kB / 0.7154 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.6144, allocations: 15.98 kB / 0.7154 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.6145, allocations: 79.28 kB / 0.7155 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6145, allocations: 4 kB / 0.7155 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004993/0.615, allocations: 103.7 kB / 0.7156 GB, free: 12.79 MB / 0.5294 GB 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.001373/0.6163, allocations: 0.9985 MB / 0.7165 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005778/0.6169, allocations: 203.8 kB / 0.7167 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.6169, allocations: 0 / 0.7167 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.6172, allocations: 118.2 kB / 0.7168 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.6176, allocations: 34.08 kB / 0.7169 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.6185, allocations: 325.3 kB / 0.7172 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.6189, allocations: 0.7004 MB / 0.7179 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003291/0.6193, allocations: 66.97 kB / 0.7179 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.6195, allocations: 43.39 kB / 0.718 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.6195, allocations: 0 / 0.718 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.6547, allocations: 7.633 MB / 0.7254 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/9.1, allocations: 0 / 0.7254 GB, free: 2.672 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.681544996099547]