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.001118/0.001118, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001099/0.001099, allocations: 167.9 kB / 24.91 MB, free: 9.184 MB / 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 0.9711/0.9711, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.2716/0.2716, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 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: 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.1.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.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.868e-05, allocations: 9.188 kB / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.289/0.2891, allocations: 146.8 MB / 472 MB, free: 16.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.2899, allocations: 1.2 MB / 473.2 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.2899, allocations: 2.656 kB / 473.2 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.2901, allocations: 36.22 kB / 473.3 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.2901, allocations: 27.47 kB / 473.3 MB, free: 16.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.291, allocations: 452.1 kB / 473.7 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.271e-05/0.2911, allocations: 68.56 kB / 473.8 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.2911, allocations: 7.281 kB / 473.8 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.2912, allocations: 44.19 kB / 473.8 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.49e-05/0.2913, allocations: 26.64 kB / 473.9 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.2913, allocations: 3.469 kB / 473.9 MB, free: 16.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006033/0.2919, allocations: 480 kB / 474.3 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2919, allocations: 10.98 kB / 474.4 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.2919, allocations: 15.33 kB / 474.4 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.2922, allocations: 341.8 kB / 474.7 MB, free: 16.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2922, allocations: 0 / 474.7 MB, free: 16.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2922, allocations: 0 / 474.7 MB, free: 16.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.2922, allocations: 0 / 474.7 MB, free: 16.32 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.0003358/0.2926, allocations: 319.1 kB / 475 MB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2926, allocations: 11.94 kB / 475 MB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.2926, allocations: 7.422 kB / 475 MB, free: 16.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.916e-05/0.2927, allocations: 116.5 kB / 475.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.2927, allocations: 5.625 kB / 475.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2927, allocations: 7.578 kB / 475.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.571e-05/0.2928, allocations: 65.09 kB / 475.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.2928, allocations: 2.156 kB / 475.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.2928, allocations: 3.5 kB / 475.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2928, allocations: 3.375 kB / 475.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.2928, allocations: 22.88 kB / 475.3 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.293, allocations: 201 kB / 475.4 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.2931, allocations: 43.34 kB / 475.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.2931, allocations: 19.39 kB / 475.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.2937, allocations: 261.2 kB / 475.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2937, allocations: 32.81 kB / 475.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.133e-06/0.2937, allocations: 3.062 kB / 475.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.002392/0.2961, allocations: 0.5967 MB / 476.4 MB, free: 15.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.2961, allocations: 55.34 kB / 476.5 MB, free: 15.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.267e-05/0.2961, allocations: 108.1 kB / 476.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2962, allocations: 33.02 kB / 476.6 MB, free: 15.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.002e-05/0.2962, allocations: 91.86 kB / 476.7 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.2962, allocations: 53.52 kB / 476.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.2963, allocations: 38.66 kB / 476.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.79e-05/0.2963, allocations: 326 kB / 477.1 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.2964, allocations: 66.89 kB / 477.2 MB, free: 14.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.2964, allocations: 94.28 kB / 477.2 MB, free: 14.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.2966, allocations: 183.4 kB / 477.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2966, allocations: 4 kB / 477.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001685/0.2967, allocations: 201.6 kB / 477.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.2967, allocations: 5.5 kB / 477.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2967, allocations: 0 / 477.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2968, allocations: 3.469 kB / 477.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.297, allocations: 57.66 kB / 477.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.297, allocations: 0 / 477.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2972, allocations: 13.39 kB / 477.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.2972, allocations: 11.48 kB / 477.7 MB, free: 14.82 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 5.68e-05/0.2973, allocations: 123.8 kB / 477.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.2973, allocations: 7.781 kB / 477.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.2976, allocations: 288.9 kB / 478.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2976, allocations: 2.75 kB / 478.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2976, allocations: 6.469 kB / 478.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2976, allocations: 7.594 kB / 478.1 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.2979, allocations: 418.2 kB / 478.5 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2979, allocations: 0 / 478.5 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.2981, allocations: 42.86 kB / 478.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2982, allocations: 6.25 kB / 478.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.2982, allocations: 5.156 kB / 478.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2982, allocations: 4.031 kB / 478.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2982, allocations: 2.906 kB / 478.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.2983, allocations: 303.9 kB / 478.9 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.2984, allocations: 20.31 kB / 478.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.2984, allocations: 7.062 kB / 478.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.2986, allocations: 5.906 kB / 478.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.2986, allocations: 17.89 kB / 479 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2986, allocations: 6.125 kB / 479 MB, free: 14.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.017e-06/0.2986, allocations: 10.11 kB / 479 MB, free: 14.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2986, allocations: 0 / 479 MB, free: 14.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.2989, allocations: 106.6 kB / 479.1 MB, free: 14.28 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.0002433/0.2991, allocations: 222.2 kB / 479.3 MB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.2993, allocations: 198.6 kB / 479.5 MB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2993, allocations: 4.125 kB / 479.5 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.2994, allocations: 107.3 kB / 479.6 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.2996, allocations: 40.02 kB / 479.6 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.3, allocations: 247.8 kB / 479.9 MB, free: 14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.577e-05/0.3, allocations: 65.06 kB / 479.9 MB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.3002, allocations: 68.25 kB / 480 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.3004, allocations: 88.62 kB / 480.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3004, allocations: 0 / 480.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of Templates: time 0.006823/0.3072, allocations: 7.443 MB / 487.5 MB, free: 12.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5349447350017726]