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.001731/0.001731, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.00217/0.00217, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.619/1.619, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2481/0.2481, allocations: 44.93 MB / 358.8 MB, free: 6.012 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 71.89 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3473, allocations: 65.47 MB / 0.5574 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1915/0.5388, allocations: 133.3 MB / 0.6876 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.5406, allocations: 1.071 MB / 0.6886 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.5407, allocations: 0 / 0.6886 GB, free: 464 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.5409, allocations: 31.83 kB / 0.6887 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.5409, allocations: 31.77 kB / 0.6887 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.5425, allocations: 429.8 kB / 0.6891 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.5427, allocations: 67.52 kB / 0.6892 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.5427, allocations: 7.984 kB / 0.6892 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.5428, allocations: 43.8 kB / 0.6892 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.5429, allocations: 23.91 kB / 0.6892 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.5429, allocations: 0 / 0.6892 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.5442, allocations: 466.7 kB / 0.6897 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.5442, allocations: 4 kB / 0.6897 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.5442, allocations: 27.91 kB / 0.6897 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.5449, allocations: 309.7 kB / 0.69 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5449, allocations: 0 / 0.69 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5449, allocations: 0 / 0.69 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5449, allocations: 0 / 0.69 GB, free: 15.05 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.0006398/0.5455, allocations: 335.7 kB / 0.6903 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5456, allocations: 12.03 kB / 0.6903 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.5456, allocations: 4.938 kB / 0.6903 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.5457, allocations: 113.1 kB / 0.6905 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.5458, allocations: 8 kB / 0.6905 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.5458, allocations: 4 kB / 0.6905 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.5459, allocations: 77.66 kB / 0.6905 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.546, allocations: 4 kB / 0.6905 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.546, allocations: 3.938 kB / 0.6905 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.546, allocations: 0 / 0.6905 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.454e-05/0.5461, allocations: 47.97 kB / 0.6906 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.5465, allocations: 252.4 kB / 0.6908 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.5467, allocations: 62.5 kB / 0.6909 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.5467, allocations: 20.84 kB / 0.6909 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.5482, allocations: 255.8 kB / 0.6912 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.5482, allocations: 30.56 kB / 0.6912 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.5482, allocations: 0 / 0.6912 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007178/0.5554, allocations: 0.6614 MB / 0.6918 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.5555, allocations: 51.69 kB / 0.6919 GB, free: 13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5556, allocations: 105.9 kB / 0.692 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5556, allocations: 25.7 kB / 0.692 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.5557, allocations: 108.1 kB / 0.6921 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.5558, allocations: 47.58 kB / 0.6922 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.5559, allocations: 45.67 kB / 0.6922 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.556, allocations: 314.8 kB / 0.6925 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.5562, allocations: 79.94 kB / 0.6926 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.5565, allocations: 109.3 kB / 0.6927 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.557, allocations: 205.7 kB / 0.6929 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.557, allocations: 0 / 0.6929 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006084/0.5576, allocations: 253.4 kB / 0.6931 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5576, allocations: 4 kB / 0.6931 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5576, allocations: 4 kB / 0.6931 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5576, allocations: 3.984 kB / 0.6931 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/0.5584, allocations: 47.95 kB / 0.6932 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5584, allocations: 4.047 kB / 0.6932 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.559, allocations: 20 kB / 0.6932 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.559, allocations: 11.98 kB / 0.6932 GB, free: 11.59 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.000149/0.5592, allocations: 121.7 kB / 0.6933 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.5592, allocations: 11.94 kB / 0.6933 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008472/0.5601, allocations: 341.7 kB / 0.6937 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/0.5601, allocations: 8 kB / 0.6937 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5601, allocations: 0 / 0.6937 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5601, allocations: 3.938 kB / 0.6937 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.5614, allocations: 0.6833 MB / 0.6943 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5614, allocations: 0 / 0.6943 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.562, allocations: 47.91 kB / 0.6944 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.562, allocations: 4 kB / 0.6944 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.5621, allocations: 3.984 kB / 0.6944 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5621, allocations: 8 kB / 0.6944 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5621, allocations: 0 / 0.6944 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.5628, allocations: 355.2 kB / 0.6947 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.5629, allocations: 27.91 kB / 0.6948 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.563, allocations: 4 kB / 0.6948 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/0.5636, allocations: 11.98 kB / 0.6948 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.5636, allocations: 15.97 kB / 0.6948 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.5637, allocations: 11.94 kB / 0.6948 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.097e-05/0.5637, allocations: 91.2 kB / 0.6949 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5637, allocations: 4 kB / 0.6949 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004927/0.5642, allocations: 103.7 kB / 0.695 GB, free: 9.645 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.0005061/0.5647, allocations: 218.8 kB / 0.6952 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005579/0.5653, allocations: 203.8 kB / 0.6954 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5653, allocations: 0 / 0.6954 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.5655, allocations: 117.7 kB / 0.6955 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.566, allocations: 31.91 kB / 0.6955 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.5666, allocations: 260.6 kB / 0.6958 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.37e-05/0.5667, allocations: 83.5 kB / 0.6959 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003468/0.5671, allocations: 69.03 kB / 0.6959 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5673, allocations: 39.38 kB / 0.696 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.5673, allocations: 0 / 0.696 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of Templates: time 0.01279/0.5801, allocations: 6.812 MB / 0.7026 GB, free: 1.801 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.75930361635983]