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.001902/0.001902, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001989/0.001989, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.673/1.673, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3773/0.3773, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.15e-05, allocations: 2.312 kB / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3915/0.3915, allocations: 147.1 MB / 0.5101 GB, free: 18.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3935, allocations: 1.187 MB / 0.5113 GB, free: 17.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.3935, allocations: 0 / 0.5113 GB, free: 17.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3938, allocations: 36.28 kB / 0.5113 GB, free: 17.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.3939, allocations: 30.17 kB / 0.5113 GB, free: 17.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.3956, allocations: 446.6 kB / 0.5118 GB, free: 17.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3957, allocations: 71.66 kB / 0.5118 GB, free: 17.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.3958, allocations: 8.047 kB / 0.5118 GB, free: 17.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3959, allocations: 47 kB / 0.5119 GB, free: 17.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.3959, allocations: 21.14 kB / 0.5119 GB, free: 17.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3959, allocations: 2.688 kB / 0.5119 GB, free: 17.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.3971, allocations: 471.4 kB / 0.5123 GB, free: 17.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.3971, allocations: 7.422 kB / 0.5124 GB, free: 17.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.3971, allocations: 22.3 kB / 0.5124 GB, free: 17.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005667/0.3977, allocations: 333.6 kB / 0.5127 GB, free: 17.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3977, allocations: 0 / 0.5127 GB, free: 17.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3977, allocations: 4 kB / 0.5127 GB, free: 17.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3977, allocations: 0 / 0.5127 GB, free: 17.21 MB / 410.7 MB 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.0005108/0.3982, allocations: 436.1 kB / 0.5131 GB, free: 16.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3982, allocations: 12.31 kB / 0.5131 GB, free: 16.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.3983, allocations: 17 kB / 0.5131 GB, free: 16.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.697e-05/0.3984, allocations: 115.2 kB / 0.5133 GB, free: 16.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3984, allocations: 7.594 kB / 0.5133 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.3984, allocations: 5.531 kB / 0.5133 GB, free: 16.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.3985, allocations: 62.67 kB / 0.5133 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3985, allocations: 0.6094 kB / 0.5133 GB, free: 16.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3986, allocations: 8 kB / 0.5133 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3986, allocations: 0 / 0.5133 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.394e-05/0.3986, allocations: 36.78 kB / 0.5134 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.399, allocations: 306.9 kB / 0.5137 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3991, allocations: 72.25 kB / 0.5137 GB, free: 16.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.3991, allocations: 23.12 kB / 0.5138 GB, free: 16.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/0.4005, allocations: 249 kB / 0.514 GB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4005, allocations: 33.39 kB / 0.514 GB, free: 16.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.4005, allocations: 0 / 0.514 GB, free: 16.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.007242/0.4078, allocations: 0.7786 MB / 0.5148 GB, free: 15.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.4078, allocations: 51.41 kB / 0.5148 GB, free: 15.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.4079, allocations: 165.5 kB / 0.515 GB, free: 15.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.4079, allocations: 29.7 kB / 0.515 GB, free: 15.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.408, allocations: 139.7 kB / 0.5152 GB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.408, allocations: 55.72 kB / 0.5152 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.4081, allocations: 50.12 kB / 0.5153 GB, free: 15.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.4082, allocations: 499 kB / 0.5157 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.4084, allocations: 129.4 kB / 0.5159 GB, free: 14.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.4086, allocations: 159.3 kB / 0.516 GB, free: 14.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.409, allocations: 309.2 kB / 0.5163 GB, free: 14.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.409, allocations: 0 / 0.5163 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005699/0.4096, allocations: 348.6 kB / 0.5166 GB, free: 14.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4096, allocations: 3.406 kB / 0.5166 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4096, allocations: 7.828 kB / 0.5166 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4096, allocations: 0 / 0.5166 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.4104, allocations: 61.64 kB / 0.5167 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4104, allocations: 2.562 kB / 0.5167 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.4109, allocations: 11.53 kB / 0.5167 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.411, allocations: 20.67 kB / 0.5167 GB, free: 14.7 MB / 410.7 MB 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 9.38e-05/0.4111, allocations: 159.4 kB / 0.5169 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.4111, allocations: 12.61 kB / 0.5169 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.4119, allocations: 434.3 kB / 0.5173 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4119, allocations: 3.062 kB / 0.5173 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4119, allocations: 4 kB / 0.5173 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4119, allocations: 0 / 0.5173 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.4129, allocations: 0.8194 MB / 0.5181 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4129, allocations: 5.344 kB / 0.5181 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/0.4136, allocations: 43.88 kB / 0.5182 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4136, allocations: 0 / 0.5182 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.4136, allocations: 9.703 kB / 0.5182 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4136, allocations: 6.812 kB / 0.5182 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4136, allocations: 0 / 0.5182 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.4142, allocations: 495.2 kB / 0.5187 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/0.4143, allocations: 29 kB / 0.5187 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.4144, allocations: 7.406 kB / 0.5187 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.4149, allocations: 9.562 kB / 0.5187 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.415, allocations: 15 kB / 0.5187 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.415, allocations: 8.422 kB / 0.5187 GB, free: 13.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.4151, allocations: 127.3 kB / 0.5188 GB, free: 13.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4151, allocations: 3 kB / 0.5188 GB, free: 13.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004961/0.4156, allocations: 101.2 kB / 0.5189 GB, free: 13.36 MB / 410.7 MB 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.0004058/0.416, allocations: 233.2 kB / 0.5192 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005308/0.4165, allocations: 309.6 kB / 0.5195 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4165, allocations: 0 / 0.5195 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.4168, allocations: 176.2 kB / 0.5196 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.4172, allocations: 39.75 kB / 0.5197 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.4177, allocations: 254.5 kB / 0.5199 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.782e-05/0.4177, allocations: 76.55 kB / 0.52 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003309/0.4181, allocations: 73.81 kB / 0.52 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.4183, allocations: 38.23 kB / 0.5201 GB, free: 12.82 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4183, allocations: 0 / 0.5201 GB, free: 12.82 MB / 410.7 MB Notification: Performance of Templates: time 0.0107/0.429, allocations: 6.859 MB / 0.5268 GB, free: 12.09 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/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: 5.767720392905176]