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.001995/0.001995, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 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.002258/0.002258, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 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.598/1.598, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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.2488/0.2488, allocations: 46.9 MB / 357.4 MB, free: 10.44 MB / 286.1 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 0.002289/0.002289, allocations: 79.88 kB / 0.4917 GB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1614, allocations: 66 MB / 0.5562 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.5561/0.7175, allocations: 154.8 MB / 0.7074 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001903/0.7194, allocations: 1.205 MB / 0.7085 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.7195, allocations: 0 / 0.7085 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.7197, allocations: 36.81 kB / 0.7086 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.7198, allocations: 23.78 kB / 0.7086 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.7218, allocations: 437.8 kB / 0.709 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.7219, allocations: 71.55 kB / 0.7091 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.814e-05/0.722, allocations: 4 kB / 0.7091 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.7221, allocations: 39.84 kB / 0.7091 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.7222, allocations: 27.92 kB / 0.7092 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.7222, allocations: 0 / 0.7092 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.7237, allocations: 0.5146 MB / 0.7097 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.7237, allocations: 8.938 kB / 0.7097 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.7237, allocations: 27.86 kB / 0.7097 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007731/0.7245, allocations: 311.7 kB / 0.71 GB, free: 4 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7245, allocations: 0 / 0.71 GB, free: 4 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7245, allocations: 0 / 0.71 GB, free: 4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7245, allocations: 0 / 0.71 GB, free: 4 MB / 0.5137 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.0008596/0.7254, allocations: 418.8 kB / 0.7104 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.7254, allocations: 12.03 kB / 0.7104 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.7255, allocations: 5.312 kB / 0.7104 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.7257, allocations: 171 kB / 0.7106 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.7257, allocations: 11.19 kB / 0.7106 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.7257, allocations: 4 kB / 0.7106 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.7259, allocations: 69.61 kB / 0.7106 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.7259, allocations: 0 / 0.7106 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.7259, allocations: 4 kB / 0.7106 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7259, allocations: 4 kB / 0.7107 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.726, allocations: 47.97 kB / 0.7107 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.7267, allocations: 377.8 kB / 0.7111 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.7268, allocations: 66.48 kB / 0.7111 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.7268, allocations: 16.86 kB / 0.7111 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002083/0.7289, allocations: 1.229 MB / 0.7123 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.729, allocations: 42.38 kB / 0.7124 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.729, allocations: 0 / 0.7124 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.006939/0.7359, allocations: 0.6585 MB / 0.713 GB, free: 480 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.736, allocations: 55.41 kB / 0.7131 GB, free: 412 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7361, allocations: 101.9 kB / 0.7132 GB, free: 300 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.7361, allocations: 29.7 kB / 0.7132 GB, free: 264 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.7363, allocations: 96.3 kB / 0.7133 GB, free: 164 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.7363, allocations: 44.16 kB / 0.7133 GB, free: 120 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.7365, allocations: 45.67 kB / 0.7134 GB, free: 68 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7367, allocations: 318.8 kB / 0.7137 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.7369, allocations: 87.88 kB / 0.7138 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.7371, allocations: 98.52 kB / 0.7139 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.7376, allocations: 203.2 kB / 0.7141 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.7376, allocations: 7.938 kB / 0.7141 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006538/0.7383, allocations: 248.3 kB / 0.7143 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.7383, allocations: 8 kB / 0.7143 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7383, allocations: 0 / 0.7143 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.7383, allocations: 0 / 0.7143 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.7391, allocations: 55.94 kB / 0.7144 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.7391, allocations: 7.938 kB / 0.7144 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.7396, allocations: 8 kB / 0.7144 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.7397, allocations: 20.05 kB / 0.7144 GB, free: 15 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.0001713/0.7399, allocations: 125.7 kB / 0.7145 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.7399, allocations: 7.953 kB / 0.7145 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.7409, allocations: 337.4 kB / 0.7148 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.7409, allocations: 7.938 kB / 0.7148 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7409, allocations: 0 / 0.7148 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.7409, allocations: 0 / 0.7148 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.7423, allocations: 0.7588 MB / 0.7156 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7423, allocations: 0 / 0.7156 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.7429, allocations: 47.95 kB / 0.7156 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.7429, allocations: 0 / 0.7156 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.7429, allocations: 5.938 kB / 0.7156 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7429, allocations: 8 kB / 0.7156 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.7429, allocations: 3.984 kB / 0.7157 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/0.7436, allocations: 355.2 kB / 0.716 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.7438, allocations: 105 kB / 0.7161 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.7438, allocations: 0 / 0.7161 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.7443, allocations: 12 kB / 0.7161 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.7444, allocations: 19.91 kB / 0.7161 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.7444, allocations: 12 kB / 0.7161 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.7445, allocations: 83.27 kB / 0.7162 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.7445, allocations: 0 / 0.7162 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006035/0.7451, allocations: 111.7 kB / 0.7163 GB, free: 12.88 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.0005404/0.7456, allocations: 214.9 kB / 0.7165 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005971/0.7462, allocations: 209 kB / 0.7167 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7462, allocations: 0 / 0.7167 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.7465, allocations: 115.8 kB / 0.7168 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.747, allocations: 32.27 kB / 0.7169 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.7478, allocations: 255.9 kB / 0.7171 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.7483, allocations: 0.6965 MB / 0.7178 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004107/0.7487, allocations: 64 kB / 0.7179 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.7489, allocations: 39.38 kB / 0.7179 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.7489, allocations: 0 / 0.7179 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of Templates: time 0.01202/0.7609, allocations: 6.23 MB / 0.724 GB, free: 4.988 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.043014696799219]