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.001844/0.001844, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002149/0.002149, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2238/0.2238, allocations: 46.96 MB / 361.6 MB, free: 4.012 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: 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 0.002019/0.002019, allocations: 67.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2782, allocations: 66.03 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1681/0.4463, allocations: 133.3 MB / 0.692 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.448, allocations: 1.071 MB / 0.693 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.448, allocations: 0 / 0.693 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.4482, allocations: 27.83 kB / 0.693 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.4483, allocations: 27.77 kB / 0.6931 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.4496, allocations: 433.7 kB / 0.6935 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.4498, allocations: 67.59 kB / 0.6935 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.4498, allocations: 4 kB / 0.6935 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.4499, allocations: 35.91 kB / 0.6936 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.45, allocations: 31.86 kB / 0.6936 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.45, allocations: 0 / 0.6936 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.4511, allocations: 482.7 kB / 0.6941 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.4511, allocations: 11.98 kB / 0.6941 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.4511, allocations: 19.88 kB / 0.6941 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.4517, allocations: 301.8 kB / 0.6944 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4517, allocations: 0 / 0.6944 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4517, allocations: 3.938 kB / 0.6944 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4517, allocations: 0 / 0.6944 GB, free: 11.86 MB / 0.5294 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.0005772/0.4523, allocations: 333.7 kB / 0.6947 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.4523, allocations: 8.031 kB / 0.6947 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.4523, allocations: 8.938 kB / 0.6947 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.4525, allocations: 121 kB / 0.6948 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4525, allocations: 4 kB / 0.6948 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.4525, allocations: 11.98 kB / 0.6948 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.4527, allocations: 65.67 kB / 0.6949 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4527, allocations: 0 / 0.6949 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4527, allocations: 0 / 0.6949 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.4527, allocations: 4 kB / 0.6949 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.63e-05/0.4528, allocations: 47.97 kB / 0.695 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.4532, allocations: 264.3 kB / 0.6952 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.4534, allocations: 62.53 kB / 0.6953 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.4534, allocations: 16.86 kB / 0.6953 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.4549, allocations: 251.8 kB / 0.6955 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.455, allocations: 38.69 kB / 0.6956 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.455, allocations: 0 / 0.6956 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007767/0.4627, allocations: 0.6686 MB / 0.6962 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.4628, allocations: 51.41 kB / 0.6963 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.4629, allocations: 105.8 kB / 0.6964 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.4629, allocations: 25.7 kB / 0.6964 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.463, allocations: 96.27 kB / 0.6965 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.463, allocations: 47.58 kB / 0.6965 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4631, allocations: 41.67 kB / 0.6966 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4633, allocations: 326.8 kB / 0.6969 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.4635, allocations: 79.94 kB / 0.697 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4637, allocations: 102.5 kB / 0.6971 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.4642, allocations: 202.4 kB / 0.6972 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.4642, allocations: 0 / 0.6972 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006261/0.4648, allocations: 261.4 kB / 0.6975 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4648, allocations: 4 kB / 0.6975 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4649, allocations: 3.938 kB / 0.6975 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4649, allocations: 4 kB / 0.6975 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.4656, allocations: 51.94 kB / 0.6976 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.4656, allocations: 4 kB / 0.6976 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.4662, allocations: 12 kB / 0.6976 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.4662, allocations: 7.984 kB / 0.6976 GB, free: 8.391 MB / 0.5294 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.0001349/0.4664, allocations: 129.7 kB / 0.6977 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.4664, allocations: 12.02 kB / 0.6977 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008686/0.4673, allocations: 338 kB / 0.698 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.4673, allocations: 0 / 0.698 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4673, allocations: 0 / 0.698 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4673, allocations: 3.984 kB / 0.698 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.4685, allocations: 0.6948 MB / 0.6987 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4685, allocations: 0 / 0.6987 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.4692, allocations: 47.84 kB / 0.6988 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.4692, allocations: 3.984 kB / 0.6988 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.4692, allocations: 11.98 kB / 0.6988 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4692, allocations: 0 / 0.6988 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4692, allocations: 0 / 0.6988 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.4699, allocations: 357.2 kB / 0.6991 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.47, allocations: 27.91 kB / 0.6991 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.47, allocations: 4 kB / 0.6991 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.4706, allocations: 15.98 kB / 0.6992 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.4707, allocations: 11.97 kB / 0.6992 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.4707, allocations: 15.98 kB / 0.6992 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.4708, allocations: 87.22 kB / 0.6993 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4708, allocations: 0 / 0.6993 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004552/0.4712, allocations: 103.7 kB / 0.6994 GB, free: 6.445 MB / 0.5294 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.0004328/0.4717, allocations: 222.8 kB / 0.6996 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.4722, allocations: 203.8 kB / 0.6998 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4722, allocations: 0 / 0.6998 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.4725, allocations: 116 kB / 0.6999 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.4729, allocations: 30.92 kB / 0.6999 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006117/0.4735, allocations: 248.5 kB / 0.7002 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.4736, allocations: 87.44 kB / 0.7002 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003502/0.474, allocations: 72.81 kB / 0.7003 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.4742, allocations: 35.39 kB / 0.7003 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.4742, allocations: 0 / 0.7003 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of Templates: time 0.01151/0.4857, allocations: 6.866 MB / 0.707 GB, free: 14.55 MB / 0.545 GB " [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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] 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: 5.277226929989411]