Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009857/0.0009857, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2883/0.2883, allocations: 34.86 MB / 296.3 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.178e-05, allocations: 2.312 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.32/0.3201, allocations: 147.4 MB / 0.5138 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3212, allocations: 1.186 MB / 0.515 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.3212, allocations: 0 / 0.515 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.3214, allocations: 34.64 kB / 0.515 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.834e-05/0.3214, allocations: 32.72 kB / 0.5151 GB, free: 14.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3228, allocations: 444.6 kB / 0.5155 GB, free: 14.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3229, allocations: 76.69 kB / 0.5156 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.3229, allocations: 7.938 kB / 0.5156 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.323, allocations: 45.33 kB / 0.5156 GB, free: 14.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.323, allocations: 19.36 kB / 0.5156 GB, free: 14.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.323, allocations: 6.562 kB / 0.5156 GB, free: 14.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009004/0.324, allocations: 476.8 kB / 0.5161 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.324, allocations: 3.672 kB / 0.5161 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.324, allocations: 27.36 kB / 0.5161 GB, free: 14.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.3245, allocations: 330.7 kB / 0.5164 GB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3245, allocations: 0 / 0.5164 GB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3245, allocations: 2.562 kB / 0.5164 GB, free: 14.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3245, allocations: 0 / 0.5164 GB, free: 14.29 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.0004305/0.3249, allocations: 438.9 kB / 0.5169 GB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.325, allocations: 15.34 kB / 0.5169 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.325, allocations: 11.84 kB / 0.5169 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.419e-05/0.3251, allocations: 116.2 kB / 0.517 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3251, allocations: 7.531 kB / 0.517 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3251, allocations: 6.766 kB / 0.517 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.3252, allocations: 62.83 kB / 0.5171 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3252, allocations: 0 / 0.5171 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3252, allocations: 0 / 0.5171 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3252, allocations: 2.594 kB / 0.5171 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.912e-05/0.3253, allocations: 32.48 kB / 0.5171 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.3256, allocations: 305.9 kB / 0.5174 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.3257, allocations: 66.92 kB / 0.5175 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.3257, allocations: 23.56 kB / 0.5175 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006656/0.3264, allocations: 246.3 kB / 0.5177 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.3264, allocations: 35.92 kB / 0.5178 GB, free: 13.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3264, allocations: 0 / 0.5178 GB, free: 13.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.00319/0.3296, allocations: 0.725 MB / 0.5185 GB, free: 13.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3296, allocations: 54.09 kB / 0.5185 GB, free: 13.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.3296, allocations: 165.4 kB / 0.5187 GB, free: 12.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3297, allocations: 32.38 kB / 0.5187 GB, free: 12.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.3297, allocations: 141.5 kB / 0.5188 GB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3297, allocations: 47.48 kB / 0.5189 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.3298, allocations: 46.67 kB / 0.5189 GB, free: 12.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.3298, allocations: 0.4899 MB / 0.5194 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3299, allocations: 108.4 kB / 0.5195 GB, free: 12.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3301, allocations: 140 kB / 0.5196 GB, free: 12.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.3303, allocations: 247.1 kB / 0.5199 GB, free: 11.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3303, allocations: 6.125 kB / 0.5199 GB, free: 11.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003263/0.3306, allocations: 299.8 kB / 0.5202 GB, free: 11.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3306, allocations: 5.5 kB / 0.5202 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3307, allocations: 9.172 kB / 0.5202 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3307, allocations: 0 / 0.5202 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.331, allocations: 52.47 kB / 0.5202 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.331, allocations: 7.344 kB / 0.5202 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.3312, allocations: 11.28 kB / 0.5202 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.3312, allocations: 14.05 kB / 0.5203 GB, free: 11.88 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 7.03e-05/0.3313, allocations: 166.1 kB / 0.5204 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.3313, allocations: 9.312 kB / 0.5204 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.3318, allocations: 382.3 kB / 0.5208 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3318, allocations: 2.344 kB / 0.5208 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3318, allocations: 0 / 0.5208 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3318, allocations: 4 kB / 0.5208 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.3324, allocations: 0.7609 MB / 0.5215 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3324, allocations: 0 / 0.5215 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.3326, allocations: 50.05 kB / 0.5216 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3326, allocations: 0 / 0.5216 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3326, allocations: 8.531 kB / 0.5216 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3326, allocations: 3.938 kB / 0.5216 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3327, allocations: 2.859 kB / 0.5216 GB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.333, allocations: 451.8 kB / 0.522 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.333, allocations: 26.72 kB / 0.5221 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.333, allocations: 7 kB / 0.5221 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.3333, allocations: 5.656 kB / 0.5221 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.3333, allocations: 18.97 kB / 0.5221 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.3333, allocations: 8.25 kB / 0.5221 GB, free: 10.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.3333, allocations: 127 kB / 0.5222 GB, free: 10.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3333, allocations: 0 / 0.5222 GB, free: 10.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.3336, allocations: 105.1 kB / 0.5223 GB, free: 10.61 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.0003111/0.3339, allocations: 232 kB / 0.5225 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.3342, allocations: 265.7 kB / 0.5228 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3342, allocations: 0 / 0.5228 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3344, allocations: 149.2 kB / 0.5229 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3347, allocations: 41.95 kB / 0.523 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.3354, allocations: 250.2 kB / 0.5232 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.3354, allocations: 68.64 kB / 0.5233 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.3356, allocations: 74.03 kB / 0.5234 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.3358, allocations: 34.11 kB / 0.5234 GB, free: 10.1 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3358, allocations: 0 / 0.5234 GB, free: 10.1 MB / 410.7 MB Notification: Performance of Templates: time 0.00794/0.3437, allocations: 7.505 MB / 0.5307 GB, free: 8.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.533873568754643]