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.001283/0.001283, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001427/0.001427, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.225/0.225, allocations: 46.94 MB / 361.7 MB, free: 4.266 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 63.91 kB / 0.4969 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3113, allocations: 66.04 MB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1851/0.4964, allocations: 154.9 MB / 0.7127 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.498, allocations: 1.203 MB / 0.7138 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.4981, allocations: 0 / 0.7138 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.4983, allocations: 31.81 kB / 0.7139 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.4983, allocations: 27.78 kB / 0.7139 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.4998, allocations: 447.9 kB / 0.7143 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.4999, allocations: 79.52 kB / 0.7144 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.5, allocations: 4 kB / 0.7144 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.5001, allocations: 31.92 kB / 0.7144 GB, free: 7.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.5002, allocations: 27.91 kB / 0.7145 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.5002, allocations: 0 / 0.7145 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.5014, allocations: 0.5254 MB / 0.715 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.5014, allocations: 19.86 kB / 0.715 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.5014, allocations: 27.86 kB / 0.715 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.502, allocations: 303.3 kB / 0.7153 GB, free: 6.277 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.502, allocations: 4 kB / 0.7153 GB, free: 6.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.502, allocations: 0 / 0.7153 GB, free: 6.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5021, allocations: 4 kB / 0.7153 GB, free: 6.27 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.0006127/0.5027, allocations: 333.6 kB / 0.7156 GB, free: 5.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5027, allocations: 8.031 kB / 0.7156 GB, free: 5.906 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.304e-05/0.5027, allocations: 12.12 kB / 0.7157 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.5028, allocations: 42.73 kB / 0.7157 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.5028, allocations: 8.5 kB / 0.7157 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5029, allocations: 113.1 kB / 0.7158 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.5029, allocations: 8 kB / 0.7158 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.5029, allocations: 4 kB / 0.7158 GB, free: 5.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.5031, allocations: 69.66 kB / 0.7159 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5031, allocations: 4 kB / 0.7159 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5031, allocations: 4 kB / 0.7159 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5031, allocations: 0 / 0.7159 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.5033, allocations: 59.83 kB / 0.716 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.5038, allocations: 357 kB / 0.7163 GB, free: 5.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.5039, allocations: 58.5 kB / 0.7164 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.504, allocations: 24.78 kB / 0.7164 GB, free: 5.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.5054, allocations: 255.6 kB / 0.7166 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.5054, allocations: 30.56 kB / 0.7166 GB, free: 4.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.913e-06/0.5054, allocations: 0 / 0.7166 GB, free: 4.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006923/0.5123, allocations: 0.6574 MB / 0.7173 GB, free: 4.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.5124, allocations: 55.91 kB / 0.7173 GB, free: 4.023 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.5125, allocations: 105.8 kB / 0.7174 GB, free: 3.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.5125, allocations: 29.7 kB / 0.7175 GB, free: 3.875 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.5126, allocations: 88.38 kB / 0.7176 GB, free: 3.785 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.5127, allocations: 51.53 kB / 0.7176 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.5128, allocations: 41.67 kB / 0.7176 GB, free: 3.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5129, allocations: 330.7 kB / 0.718 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.5132, allocations: 79.94 kB / 0.718 GB, free: 3.277 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.5134, allocations: 106.5 kB / 0.7181 GB, free: 3.164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.5139, allocations: 202.5 kB / 0.7183 GB, free: 2.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5139, allocations: 0 / 0.7183 GB, free: 2.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006079/0.5145, allocations: 245.3 kB / 0.7186 GB, free: 2.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5145, allocations: 12.06 kB / 0.7186 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5145, allocations: 3.984 kB / 0.7186 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5145, allocations: 0 / 0.7186 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/0.5152, allocations: 51.95 kB / 0.7186 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.5152, allocations: 0 / 0.7186 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.5158, allocations: 15.98 kB / 0.7186 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.5158, allocations: 11.98 kB / 0.7187 GB, free: 2.621 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.000143/0.516, allocations: 125.7 kB / 0.7188 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.516, allocations: 7.953 kB / 0.7188 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008418/0.5169, allocations: 347.8 kB / 0.7191 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5169, allocations: 4 kB / 0.7191 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5169, allocations: 4 kB / 0.7191 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5169, allocations: 0 / 0.7191 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.5181, allocations: 0.735 MB / 0.7198 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5181, allocations: 0 / 0.7198 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.5188, allocations: 47.84 kB / 0.7199 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5188, allocations: 4 kB / 0.7199 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.5188, allocations: 7.984 kB / 0.7199 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.5188, allocations: 7.938 kB / 0.7199 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5188, allocations: 3.984 kB / 0.7199 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.5195, allocations: 353.8 kB / 0.7202 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.5196, allocations: 27.91 kB / 0.7203 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.5196, allocations: 3.938 kB / 0.7203 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.5202, allocations: 19.92 kB / 0.7203 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.5202, allocations: 11.97 kB / 0.7203 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.5203, allocations: 12 kB / 0.7203 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.5203, allocations: 83.27 kB / 0.7204 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5203, allocations: 4 kB / 0.7204 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004877/0.5208, allocations: 103.7 kB / 0.7205 GB, free: 0.6133 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.001364/0.5222, allocations: 0.9952 MB / 0.7215 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005754/0.5227, allocations: 203.8 kB / 0.7217 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5227, allocations: 0 / 0.7217 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.523, allocations: 107.9 kB / 0.7218 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.5235, allocations: 39.95 kB / 0.7218 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009415/0.5244, allocations: 329.9 kB / 0.7221 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.5248, allocations: 0.7003 MB / 0.7228 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003431/0.5251, allocations: 69.02 kB / 0.7229 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.5254, allocations: 43.39 kB / 0.7229 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.5254, allocations: 0 / 0.7229 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.5552, allocations: 7.956 MB / 0.7307 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.74, allocations: 14.86 kB / 0.7307 GB, free: 6.215 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: 15.047036327014212]