Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001981/0.001981, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002047/0.002047, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2181/0.2181, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.727e-05, allocations: 6.25 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3703/0.3703, allocations: 145.8 MB / 492.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.3746, allocations: 3.62 MB / 496.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.3747, allocations: 0 / 496.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.3749, allocations: 29.89 kB / 496.4 MB, free: 8.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.3749, allocations: 30.42 kB / 496.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.3763, allocations: 443.2 kB / 496.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3764, allocations: 72.53 kB / 496.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.3765, allocations: 2.188 kB / 496.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3766, allocations: 49.58 kB / 497 MB, free: 8.043 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.3766, allocations: 20.11 kB / 497 MB, free: 8.039 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3766, allocations: 0 / 497 MB, free: 8.039 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009595/0.3776, allocations: 465.9 kB / 497.4 MB, free: 7.887 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.3776, allocations: 11.53 kB / 497.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.3777, allocations: 18.08 kB / 497.5 MB, free: 7.879 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.3781, allocations: 336.1 kB / 497.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3782, allocations: 3.125 kB / 497.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3782, allocations: 0 / 497.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.3782, allocations: 4 kB / 497.8 MB, free: 7.77 MB / 362.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.0005186/0.3787, allocations: 439.6 kB / 498.2 MB, free: 7.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3787, allocations: 8.25 kB / 498.2 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.3788, allocations: 10.67 kB / 498.2 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.845e-05/0.3788, allocations: 107.8 kB / 498.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3789, allocations: 10.03 kB / 498.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3789, allocations: 6.438 kB / 498.4 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.379, allocations: 62.05 kB / 498.4 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.379, allocations: 3.953 kB / 498.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.379, allocations: 5.938 kB / 498.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.379, allocations: 4 kB / 498.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.3791, allocations: 34.59 kB / 498.5 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3795, allocations: 306.4 kB / 498.8 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3796, allocations: 65.98 kB / 498.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.3797, allocations: 23.83 kB / 498.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.381, allocations: 260 kB / 499.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.3811, allocations: 40.95 kB / 499.2 MB, free: 6.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.3811, allocations: 0 / 499.2 MB, free: 6.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.00688/0.3879, allocations: 0.7755 MB / 499.9 MB, free: 6.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.388, allocations: 53.88 kB / 500 MB, free: 6.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.388, allocations: 163.7 kB / 0.4884 GB, free: 6.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3881, allocations: 35.64 kB / 0.4885 GB, free: 6.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.3881, allocations: 135 kB / 0.4886 GB, free: 6.094 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.3882, allocations: 50.66 kB / 0.4886 GB, free: 6.059 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3883, allocations: 56.83 kB / 0.4887 GB, free: 6.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.3883, allocations: 0.4904 MB / 0.4892 GB, free: 5.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.3885, allocations: 130.2 kB / 0.4893 GB, free: 5.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.3888, allocations: 170.8 kB / 0.4895 GB, free: 5.445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.3892, allocations: 298.5 kB / 0.4897 GB, free: 5.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3892, allocations: 6.75 kB / 0.4897 GB, free: 5.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005767/0.3898, allocations: 343.4 kB / 0.4901 GB, free: 5.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3898, allocations: 9.891 kB / 0.4901 GB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3898, allocations: 0 / 0.4901 GB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3898, allocations: 6.781 kB / 0.4901 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.3905, allocations: 46.48 kB / 0.4901 GB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3905, allocations: 4 kB / 0.4901 GB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.3911, allocations: 18.42 kB / 0.4902 GB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.3912, allocations: 12.39 kB / 0.4902 GB, free: 5.293 MB / 362.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 0.0001002/0.3913, allocations: 162.6 kB / 0.4903 GB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.3913, allocations: 13.2 kB / 0.4903 GB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007767/0.3921, allocations: 437.6 kB / 0.4907 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3921, allocations: 6.656 kB / 0.4908 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3921, allocations: 0 / 0.4908 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3921, allocations: 3.984 kB / 0.4908 GB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.3931, allocations: 0.8232 MB / 0.4916 GB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3931, allocations: 3.938 kB / 0.4916 GB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.3938, allocations: 43.53 kB / 0.4916 GB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3938, allocations: 0 / 0.4916 GB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.3938, allocations: 13.86 kB / 0.4916 GB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3938, allocations: 0 / 0.4916 GB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3938, allocations: 4 kB / 0.4916 GB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.3944, allocations: 494.4 kB / 0.4921 GB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/0.3945, allocations: 29.38 kB / 0.4921 GB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.3945, allocations: 2.75 kB / 0.4921 GB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005673/0.3951, allocations: 9.75 kB / 0.4921 GB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.3952, allocations: 17.19 kB / 0.4922 GB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.3952, allocations: 13.48 kB / 0.4922 GB, free: 3.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.561e-05/0.3952, allocations: 128.3 kB / 0.4923 GB, free: 3.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3952, allocations: 3.938 kB / 0.4923 GB, free: 3.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.3958, allocations: 105.6 kB / 0.4924 GB, free: 3.824 MB / 362.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.0004756/0.3962, allocations: 220 kB / 0.4926 GB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.3968, allocations: 312.9 kB / 0.4929 GB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3968, allocations: 128 / 0.4929 GB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.397, allocations: 177.1 kB / 0.4931 GB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3974, allocations: 40.17 kB / 0.4931 GB, free: 3.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.398, allocations: 262.4 kB / 0.4934 GB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.192e-05/0.3981, allocations: 88.95 kB / 0.4934 GB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.3984, allocations: 66.2 kB / 0.4935 GB, free: 3.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.3986, allocations: 31.5 kB / 0.4935 GB, free: 3.164 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3986, allocations: 2.594 kB / 0.4935 GB, free: 3.164 MB / 362.7 MB Notification: Performance of Templates: time 0.01099/0.4096, allocations: 6.866 MB / 0.5002 GB, free: 14.27 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.5037937050219625]