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.0009222/0.0009222, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002097, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007335/0.0007335, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008785/0.001612, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9811/0.9811, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.085, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2554/0.2554, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02818/0.2836, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 3.938 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.715e-05, allocations: 4.531 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1445/0.1445, allocations: 147.3 MB / 437.9 MB, free: 4.492 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1455, allocations: 1.211 MB / 439.1 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.1456, allocations: 0 / 439.1 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.1457, allocations: 35.75 kB / 439.1 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.698e-05/0.1457, allocations: 27.77 kB / 439.1 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008279/0.1465, allocations: 429.5 kB / 439.6 MB, free: 2.789 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.518e-05/0.1466, allocations: 67.55 kB / 439.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.1466, allocations: 7.984 kB / 439.6 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1467, allocations: 51.84 kB / 439.7 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.1468, allocations: 19.97 kB / 439.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1468, allocations: 3.938 kB / 439.7 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/0.1475, allocations: 487.3 kB / 440.2 MB, free: 2.164 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1476, allocations: 7.938 kB / 440.2 MB, free: 2.156 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.1476, allocations: 16 kB / 440.2 MB, free: 2.141 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.1479, allocations: 291.2 kB / 440.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.606e-05/0.1479, allocations: 0 / 440.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1479, allocations: 4 kB / 440.5 MB, free: 1.852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.148, allocations: 4 kB / 440.5 MB, free: 1.848 MB / 426.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.0004651/0.1484, allocations: 425.7 kB / 440.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.1485, allocations: 12.61 kB / 440.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.1485, allocations: 8.938 kB / 440.9 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.596e-05/0.1486, allocations: 125 kB / 441 MB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1486, allocations: 4 kB / 441.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1486, allocations: 8 kB / 441.1 MB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.382e-05/0.1487, allocations: 56.48 kB / 441.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1487, allocations: 0 / 441.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1487, allocations: 8 kB / 441.1 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1487, allocations: 4 kB / 441.1 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.1487, allocations: 24.92 kB / 441.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.149, allocations: 197.8 kB / 441.3 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.216e-05/0.149, allocations: 50.55 kB / 441.4 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.1491, allocations: 13.05 kB / 441.4 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006081/0.1497, allocations: 267.7 kB / 441.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1497, allocations: 34.56 kB / 441.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1497, allocations: 0 / 441.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.1964/0.3461, allocations: 0.6063 MB / 442.3 MB, free: 9.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3462, allocations: 56.81 kB / 442.4 MB, free: 9.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/0.3462, allocations: 104.1 kB / 442.5 MB, free: 9.465 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3463, allocations: 26.33 kB / 442.5 MB, free: 9.434 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.3463, allocations: 96.08 kB / 442.6 MB, free: 9.352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.3463, allocations: 51.31 kB / 442.6 MB, free: 9.332 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.3464, allocations: 40.94 kB / 442.7 MB, free: 9.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.3465, allocations: 319.4 kB / 443 MB, free: 9.004 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3466, allocations: 68.62 kB / 443.1 MB, free: 9.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.3467, allocations: 95.83 kB / 443.1 MB, free: 8.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.347, allocations: 184.4 kB / 443.3 MB, free: 8.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.347, allocations: 1.094 kB / 443.3 MB, free: 8.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002865/0.3473, allocations: 206.5 kB / 443.5 MB, free: 8.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3473, allocations: 8.469 kB / 443.5 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3473, allocations: 0 / 443.5 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3473, allocations: 5.062 kB / 443.5 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.3477, allocations: 63.38 kB / 443.6 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.3477, allocations: 4.562 kB / 443.6 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3479, allocations: 16.53 kB / 443.6 MB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.3479, allocations: 15.38 kB / 443.6 MB, free: 8.926 MB / 426.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 7.416e-05/0.348, allocations: 116 kB / 443.8 MB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.348, allocations: 12.06 kB / 443.8 MB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.3484, allocations: 289.2 kB / 444.1 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3484, allocations: 2.656 kB / 444.1 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.3484, allocations: 2.75 kB / 444.1 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3484, allocations: 2.719 kB / 444.1 MB, free: 8.773 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.3489, allocations: 415.8 kB / 444.5 MB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3489, allocations: 0 / 444.5 MB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.3492, allocations: 58.53 kB / 444.5 MB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.3492, allocations: 15.8 kB / 444.5 MB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3492, allocations: 0.5 kB / 444.5 MB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3492, allocations: 9.969 kB / 444.5 MB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3492, allocations: 0 / 444.5 MB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3492, allocations: 0.9844 kB / 444.5 MB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.3494, allocations: 308.2 kB / 444.8 MB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.3495, allocations: 7.656 kB / 444.9 MB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3497, allocations: 10.36 kB / 444.9 MB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.3497, allocations: 15.91 kB / 444.9 MB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3497, allocations: 7.094 kB / 444.9 MB, free: 8.445 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.458e-05/0.3497, allocations: 11.69 kB / 444.9 MB, free: 8.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3497, allocations: 0 / 444.9 MB, free: 8.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003073/0.35, allocations: 111.7 kB / 445 MB, free: 8.438 MB / 426.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.0003297/0.3504, allocations: 218.4 kB / 445.2 MB, free: 8.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3506, allocations: 189.5 kB / 445.4 MB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.3506, allocations: 2.656 kB / 445.4 MB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.3507, allocations: 115.4 kB / 445.5 MB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.3509, allocations: 44.84 kB / 445.6 MB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3523, allocations: 252.7 kB / 445.8 MB, free: 8.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.3523, allocations: 66.31 kB / 445.9 MB, free: 8.148 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.3526, allocations: 66.03 kB / 445.9 MB, free: 8.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.3528, allocations: 84.95 kB / 446 MB, free: 8.086 MB / 426.7 MB Notification: Performance of SimCode: time 1.923e-06/0.3528, allocations: 0 / 446 MB, free: 8.086 MB / 426.7 MB Notification: Performance of Templates: time 0.009275/0.362, allocations: 7.492 MB / 453.5 MB, free: 7.66 MB / 426.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 -ignoreHideResult -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","",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.245090357027948]