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.001566/0.001566, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002261/0.002261, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.2248/0.2248, allocations: 44.91 MB / 359.6 MB, free: 6.273 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: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [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.002269/0.002269, allocations: 67.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3029, allocations: 65.47 MB / 0.5582 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1838/0.4868, allocations: 154.9 MB / 0.7095 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.4885, allocations: 1.199 MB / 0.7107 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.4886, allocations: 0 / 0.7107 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.4888, allocations: 39.73 kB / 0.7107 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.4889, allocations: 31.77 kB / 0.7107 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.4904, allocations: 445.6 kB / 0.7112 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.4906, allocations: 63.66 kB / 0.7112 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.4906, allocations: 8 kB / 0.7112 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.4907, allocations: 35.86 kB / 0.7113 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.4908, allocations: 31.84 kB / 0.7113 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.4908, allocations: 7.938 kB / 0.7113 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.4921, allocations: 0.5182 MB / 0.7118 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.4921, allocations: 11.98 kB / 0.7118 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.4922, allocations: 23.88 kB / 0.7118 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007149/0.4929, allocations: 317.7 kB / 0.7122 GB, free: 9.512 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.4929, allocations: 4 kB / 0.7122 GB, free: 9.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4929, allocations: 0 / 0.7122 GB, free: 9.508 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4929, allocations: 0 / 0.7122 GB, free: 9.508 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.000653/0.4936, allocations: 337.6 kB / 0.7125 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4936, allocations: 12.03 kB / 0.7125 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.4936, allocations: 4.938 kB / 0.7125 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4938, allocations: 113.1 kB / 0.7126 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4938, allocations: 8 kB / 0.7126 GB, free: 8.988 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.4938, allocations: 4 kB / 0.7126 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.494, allocations: 73.67 kB / 0.7127 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.494, allocations: 7.969 kB / 0.7127 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.494, allocations: 4 kB / 0.7127 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.494, allocations: 0 / 0.7127 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4941, allocations: 47.97 kB / 0.7127 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.4947, allocations: 364.8 kB / 0.7131 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4948, allocations: 54.56 kB / 0.7131 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.4948, allocations: 24.84 kB / 0.7132 GB, free: 8.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.4962, allocations: 247.7 kB / 0.7134 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.4963, allocations: 42.69 kB / 0.7134 GB, free: 8.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.4963, allocations: 3.938 kB / 0.7134 GB, free: 8.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.006913/0.5032, allocations: 0.6499 MB / 0.7141 GB, free: 7.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.5032, allocations: 51.41 kB / 0.7141 GB, free: 7.324 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.5033, allocations: 109.8 kB / 0.7142 GB, free: 7.207 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5034, allocations: 29.7 kB / 0.7143 GB, free: 7.172 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.5034, allocations: 92.3 kB / 0.7143 GB, free: 7.078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.5035, allocations: 55.62 kB / 0.7144 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.5036, allocations: 49.61 kB / 0.7144 GB, free: 6.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5037, allocations: 310.8 kB / 0.7147 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.504, allocations: 87.94 kB / 0.7148 GB, free: 6.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.5042, allocations: 102.5 kB / 0.7149 GB, free: 6.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.5046, allocations: 206.5 kB / 0.7151 GB, free: 6.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5046, allocations: 0 / 0.7151 GB, free: 6.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005959/0.5052, allocations: 245.2 kB / 0.7154 GB, free: 6.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.5053, allocations: 15.92 kB / 0.7154 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5053, allocations: 0 / 0.7154 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.5053, allocations: 0 / 0.7154 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.506, allocations: 55.89 kB / 0.7154 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.506, allocations: 4.062 kB / 0.7154 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.5065, allocations: 15.98 kB / 0.7154 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.5065, allocations: 15.98 kB / 0.7155 GB, free: 5.902 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.0001405/0.5067, allocations: 121.7 kB / 0.7156 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.5067, allocations: 7.953 kB / 0.7156 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008104/0.5075, allocations: 341.4 kB / 0.7159 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5076, allocations: 4 kB / 0.7159 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5076, allocations: 0 / 0.7159 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.5076, allocations: 0 / 0.7159 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.5088, allocations: 0.7365 MB / 0.7166 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5088, allocations: 0 / 0.7166 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.5094, allocations: 51.91 kB / 0.7167 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5095, allocations: 4 kB / 0.7167 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.5095, allocations: 3.984 kB / 0.7167 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5095, allocations: 0 / 0.7167 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5095, allocations: 8.188 kB / 0.7167 GB, free: 4.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.5101, allocations: 347.4 kB / 0.717 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.5102, allocations: 31.89 kB / 0.7171 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.5103, allocations: 12 kB / 0.7171 GB, free: 4.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.5108, allocations: 11.98 kB / 0.7171 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.5109, allocations: 19.91 kB / 0.7171 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.5109, allocations: 8 kB / 0.7171 GB, free: 4.094 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.681e-05/0.5109, allocations: 83.27 kB / 0.7172 GB, free: 4.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5109, allocations: 0 / 0.7172 GB, free: 4.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004743/0.5114, allocations: 103.7 kB / 0.7173 GB, free: 3.91 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.0004769/0.5119, allocations: 226.7 kB / 0.7175 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005732/0.5125, allocations: 206.9 kB / 0.7177 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5125, allocations: 128 / 0.7177 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.5127, allocations: 119.8 kB / 0.7178 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.5132, allocations: 27.91 kB / 0.7178 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.5139, allocations: 286.2 kB / 0.7181 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.5142, allocations: 0.6965 MB / 0.7188 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.5145, allocations: 39.38 kB / 0.7188 GB, free: 2.266 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.5145, allocations: 3.938 kB / 0.7188 GB, free: 2.262 MB / 0.545 GB Notification: Performance of Templates: time 0.007883/0.5224, allocations: 4.117 MB / 0.7229 GB, free: 14.14 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] 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: 7.7403167120646685]