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.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.001743/0.001743, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002542/0.002542, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2141/0.2141, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 59.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3249, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1813/0.5062, allocations: 154.9 MB / 0.7083 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.5079, allocations: 1.199 MB / 0.7094 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.5079, allocations: 0 / 0.7094 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.5081, allocations: 35.81 kB / 0.7095 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.5082, allocations: 31.77 kB / 0.7095 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.5095, allocations: 449.6 kB / 0.7099 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.5097, allocations: 71.59 kB / 0.71 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.5097, allocations: 4 kB / 0.71 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.5098, allocations: 39.84 kB / 0.71 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.5099, allocations: 27.86 kB / 0.7101 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.5099, allocations: 0 / 0.7101 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.5112, allocations: 0.526 MB / 0.7106 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.5112, allocations: 0 / 0.7106 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.5112, allocations: 35.86 kB / 0.7106 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.5119, allocations: 317.1 kB / 0.7109 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5119, allocations: 0 / 0.7109 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5119, allocations: 0 / 0.7109 GB, free: 9.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.5119, allocations: 0 / 0.7109 GB, free: 9.559 MB / 0.545 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.0006567/0.5126, allocations: 333.7 kB / 0.7112 GB, free: 9.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5126, allocations: 11.97 kB / 0.7113 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.5126, allocations: 42.67 kB / 0.7113 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.5127, allocations: 12.69 kB / 0.7113 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.5128, allocations: 113.1 kB / 0.7114 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5128, allocations: 4 kB / 0.7114 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.5128, allocations: 8 kB / 0.7114 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.513, allocations: 69.61 kB / 0.7115 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.513, allocations: 3.984 kB / 0.7115 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.513, allocations: 4 kB / 0.7115 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.513, allocations: 0 / 0.7115 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.5131, allocations: 55.89 kB / 0.7116 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.5137, allocations: 357 kB / 0.7119 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.5138, allocations: 66.48 kB / 0.712 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.5138, allocations: 20.84 kB / 0.712 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.5152, allocations: 259.7 kB / 0.7122 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5153, allocations: 34.56 kB / 0.7123 GB, free: 8.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.5153, allocations: 0 / 0.7123 GB, free: 8.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.007071/0.5223, allocations: 0.6494 MB / 0.7129 GB, free: 7.383 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.5224, allocations: 55.39 kB / 0.7129 GB, free: 7.316 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.5225, allocations: 102 kB / 0.713 GB, free: 7.207 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.5225, allocations: 33.7 kB / 0.7131 GB, free: 7.168 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.5226, allocations: 88.36 kB / 0.7132 GB, free: 7.078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.5227, allocations: 59.52 kB / 0.7132 GB, free: 7.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.5228, allocations: 41.67 kB / 0.7133 GB, free: 6.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5229, allocations: 318.8 kB / 0.7136 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.5231, allocations: 83.94 kB / 0.7136 GB, free: 6.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.5234, allocations: 113.8 kB / 0.7137 GB, free: 6.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.5238, allocations: 198.5 kB / 0.7139 GB, free: 6.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5238, allocations: 0 / 0.7139 GB, free: 6.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006033/0.5244, allocations: 248.8 kB / 0.7142 GB, free: 6.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5244, allocations: 11.98 kB / 0.7142 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5245, allocations: 8 kB / 0.7142 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5245, allocations: 3.938 kB / 0.7142 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.5252, allocations: 47.95 kB / 0.7142 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5252, allocations: 3.938 kB / 0.7142 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.5257, allocations: 19.98 kB / 0.7143 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.5257, allocations: 11.98 kB / 0.7143 GB, free: 5.898 MB / 0.545 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.0001313/0.5259, allocations: 117.8 kB / 0.7144 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.5259, allocations: 7.953 kB / 0.7144 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.5267, allocations: 347.7 kB / 0.7147 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5267, allocations: 4 kB / 0.7147 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5267, allocations: 0 / 0.7147 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5267, allocations: 0 / 0.7147 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.5279, allocations: 0.735 MB / 0.7154 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5279, allocations: 3.938 kB / 0.7155 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.5286, allocations: 43.97 kB / 0.7155 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.5286, allocations: 4 kB / 0.7155 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.5286, allocations: 3.984 kB / 0.7155 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5286, allocations: 3.938 kB / 0.7155 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5286, allocations: 4 kB / 0.7155 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.5292, allocations: 356.5 kB / 0.7158 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.5293, allocations: 27.91 kB / 0.7159 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.5294, allocations: 4 kB / 0.7159 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.5299, allocations: 15.92 kB / 0.7159 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.53, allocations: 15.97 kB / 0.7159 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.53, allocations: 11.98 kB / 0.7159 GB, free: 4.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.53, allocations: 91.27 kB / 0.716 GB, free: 4.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.53, allocations: 0 / 0.716 GB, free: 4.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004434/0.5305, allocations: 103.7 kB / 0.7161 GB, free: 3.902 MB / 0.545 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.001247/0.5317, allocations: 0.9999 MB / 0.7171 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005423/0.5323, allocations: 199.8 kB / 0.7173 GB, free: 2.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5323, allocations: 4 kB / 0.7173 GB, free: 2.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.5325, allocations: 107.9 kB / 0.7174 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.5329, allocations: 39.97 kB / 0.7174 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.5338, allocations: 317.9 kB / 0.7177 GB, free: 2.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.5342, allocations: 0.7004 MB / 0.7184 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.5345, allocations: 68.77 kB / 0.7185 GB, free: 1.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.5347, allocations: 51.31 kB / 0.7185 GB, free: 1.344 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.5347, allocations: 0 / 0.7185 GB, free: 1.344 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.5705, allocations: 7.9 MB / 0.7262 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.64, allocations: 14.12 kB / 0.7262 GB, free: 9.543 MB / 0.5606 GB " [Timeout remaining time 648] (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 --stepSize=0.000201919 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.821100380970165]