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.001336/0.001336, allocations: 115.9 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.001418/0.001418, allocations: 213.4 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.398/1.398, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.222/0.222, allocations: 46.94 MB / 360.9 MB, free: 4.273 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.001925/0.001925, allocations: 71.89 kB / 0.4962 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3168, allocations: 66.03 MB / 0.5606 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.186/0.5028, allocations: 154.9 MB / 0.7119 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.5045, allocations: 1.207 MB / 0.7131 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.5046, allocations: 0 / 0.7131 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.5047, allocations: 39.75 kB / 0.7131 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.5048, allocations: 27.77 kB / 0.7131 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.5062, allocations: 449.6 kB / 0.7136 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.5063, allocations: 67.53 kB / 0.7136 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.5064, allocations: 4 kB / 0.7136 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.5065, allocations: 31.97 kB / 0.7137 GB, free: 7.168 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.5065, allocations: 27.86 kB / 0.7137 GB, free: 7.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.5065, allocations: 8 kB / 0.7137 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.5078, allocations: 0.526 MB / 0.7142 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.5078, allocations: 11.94 kB / 0.7142 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.5079, allocations: 23.86 kB / 0.7142 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.5085, allocations: 313.2 kB / 0.7145 GB, free: 6.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5085, allocations: 0 / 0.7145 GB, free: 6.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5085, allocations: 0 / 0.7145 GB, free: 6.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.5085, allocations: 0 / 0.7145 GB, free: 6.266 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.000578/0.5091, allocations: 341.6 kB / 0.7149 GB, free: 5.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5092, allocations: 12.03 kB / 0.7149 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.5092, allocations: 34.75 kB / 0.7149 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.5092, allocations: 8.688 kB / 0.7149 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.5094, allocations: 125 kB / 0.715 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.5094, allocations: 0 / 0.715 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.5094, allocations: 8 kB / 0.7151 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.5096, allocations: 69.67 kB / 0.7151 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5096, allocations: 0 / 0.7151 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.5096, allocations: 4 kB / 0.7151 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5096, allocations: 8 kB / 0.7151 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.394e-05/0.5097, allocations: 59.83 kB / 0.7152 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.5101, allocations: 341 kB / 0.7155 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.5103, allocations: 58.55 kB / 0.7156 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.5103, allocations: 21.03 kB / 0.7156 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.5117, allocations: 263.6 kB / 0.7158 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.5117, allocations: 30.56 kB / 0.7159 GB, free: 4.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.5117, allocations: 4 kB / 0.7159 GB, free: 4.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006772/0.5185, allocations: 0.6532 MB / 0.7165 GB, free: 4.094 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.5185, allocations: 55.41 kB / 0.7166 GB, free: 4.027 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5186, allocations: 102.4 kB / 0.7167 GB, free: 3.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.5187, allocations: 29.64 kB / 0.7167 GB, free: 3.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.5187, allocations: 92.38 kB / 0.7168 GB, free: 3.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.5188, allocations: 51.52 kB / 0.7168 GB, free: 3.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5189, allocations: 41.67 kB / 0.7169 GB, free: 3.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.519, allocations: 326.8 kB / 0.7172 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.5193, allocations: 87.88 kB / 0.7173 GB, free: 3.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.5195, allocations: 109.3 kB / 0.7174 GB, free: 3.164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.5199, allocations: 206.2 kB / 0.7176 GB, free: 2.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5199, allocations: 0 / 0.7176 GB, free: 2.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005574/0.5205, allocations: 249.5 kB / 0.7178 GB, free: 2.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5205, allocations: 6.5 kB / 0.7178 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5205, allocations: 0 / 0.7178 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5205, allocations: 7.984 kB / 0.7178 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.5212, allocations: 47.94 kB / 0.7179 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.5212, allocations: 4 kB / 0.7179 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.5217, allocations: 20.23 kB / 0.7179 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.5217, allocations: 7.984 kB / 0.7179 GB, free: 2.617 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.0001351/0.5219, allocations: 125.8 kB / 0.718 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.5219, allocations: 15.95 kB / 0.718 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008118/0.5228, allocations: 337.4 kB / 0.7183 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5228, allocations: 8 kB / 0.7184 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5228, allocations: 0 / 0.7184 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5228, allocations: 0 / 0.7184 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.524, allocations: 0.7375 MB / 0.7191 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.524, allocations: 0 / 0.7191 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.5246, allocations: 47.89 kB / 0.7191 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.5246, allocations: 0 / 0.7191 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.5246, allocations: 11.98 kB / 0.7191 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.5246, allocations: 7.938 kB / 0.7191 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5246, allocations: 0 / 0.7191 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.5252, allocations: 351.4 kB / 0.7195 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.5253, allocations: 23.91 kB / 0.7195 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.5254, allocations: 0 / 0.7195 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.5259, allocations: 15.94 kB / 0.7195 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.526, allocations: 11.97 kB / 0.7195 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.526, allocations: 19.98 kB / 0.7195 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.5261, allocations: 83.22 kB / 0.7196 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5261, allocations: 0 / 0.7196 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004628/0.5265, allocations: 103.7 kB / 0.7197 GB, free: 0.6211 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.001323/0.5278, allocations: 1.007 MB / 0.7207 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005206/0.5284, allocations: 196 kB / 0.7209 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5284, allocations: 4 kB / 0.7209 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.5286, allocations: 115.8 kB / 0.721 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.529, allocations: 40.03 kB / 0.721 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.53, allocations: 332.2 kB / 0.7214 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.5303, allocations: 0.6964 MB / 0.722 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003129/0.5306, allocations: 60.86 kB / 0.7221 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.5308, allocations: 51.38 kB / 0.7221 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.5308, allocations: 0 / 0.7221 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.5694, allocations: 7.908 MB / 0.7299 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.72, allocations: 13.72 kB / 0.7299 GB, free: 6.238 MB / 0.5606 GB " [Timeout remaining time 648] (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: 14.743468246189877]