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.001678/0.001678, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002117/0.002117, allocations: 215.5 kB / 24.48 MB, free: 3.828 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.547/1.547, allocations: 230.5 MB / 258.1 MB, free: 7.809 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.2278/0.2278, allocations: 46.94 MB / 361.5 MB, free: 3.961 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.002448/0.002448, allocations: 83.84 kB / 0.4974 GB, free: 7.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3325, allocations: 66.09 MB / 0.5619 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1759/0.5084, allocations: 133.3 MB / 0.6921 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.5101, allocations: 1.059 MB / 0.6931 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.5101, allocations: 3.938 kB / 0.6931 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.5103, allocations: 35.83 kB / 0.6931 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.53e-05/0.5104, allocations: 27.77 kB / 0.6932 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.5118, allocations: 429.7 kB / 0.6936 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.5119, allocations: 71.59 kB / 0.6936 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.5119, allocations: 0 / 0.6936 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.102e-05/0.512, allocations: 31.92 kB / 0.6937 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.5121, allocations: 35.84 kB / 0.6937 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.5121, allocations: 0 / 0.6937 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.5131, allocations: 470.8 kB / 0.6941 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.5131, allocations: 7.938 kB / 0.6941 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.5132, allocations: 27.86 kB / 0.6942 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.5137, allocations: 305.8 kB / 0.6945 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5137, allocations: 0 / 0.6945 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5137, allocations: 3.938 kB / 0.6945 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5137, allocations: 0 / 0.6945 GB, free: 11.73 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.0005866/0.5143, allocations: 329.7 kB / 0.6948 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5143, allocations: 12.03 kB / 0.6948 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.5144, allocations: 0.9375 kB / 0.6948 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.5145, allocations: 121.1 kB / 0.6949 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.5145, allocations: 8 kB / 0.6949 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.5146, allocations: 4 kB / 0.6949 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.5147, allocations: 73.66 kB / 0.695 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5147, allocations: 0 / 0.695 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.5147, allocations: 8 kB / 0.695 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5147, allocations: 0 / 0.695 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.5148, allocations: 47.97 kB / 0.695 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.5153, allocations: 260.3 kB / 0.6953 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.5154, allocations: 54.56 kB / 0.6953 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.5154, allocations: 20.84 kB / 0.6954 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.5169, allocations: 255.8 kB / 0.6956 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.5169, allocations: 38.75 kB / 0.6956 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.5169, allocations: 3.938 kB / 0.6957 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007125/0.524, allocations: 0.6531 MB / 0.6963 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.5241, allocations: 51.41 kB / 0.6963 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5242, allocations: 105.8 kB / 0.6964 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.5242, allocations: 30.27 kB / 0.6965 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.5243, allocations: 96.27 kB / 0.6966 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.5244, allocations: 47.58 kB / 0.6966 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.5245, allocations: 41.67 kB / 0.6966 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5246, allocations: 322.8 kB / 0.697 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.5248, allocations: 79.94 kB / 0.697 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.5251, allocations: 116.5 kB / 0.6971 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.5255, allocations: 197.8 kB / 0.6973 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5255, allocations: 0 / 0.6973 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005783/0.5261, allocations: 253.4 kB / 0.6976 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5261, allocations: 6.031 kB / 0.6976 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5261, allocations: 0 / 0.6976 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5261, allocations: 12.05 kB / 0.6976 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.5269, allocations: 51.89 kB / 0.6976 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5269, allocations: 0 / 0.6976 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.5274, allocations: 23.97 kB / 0.6977 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.5275, allocations: 11.98 kB / 0.6977 GB, free: 8.266 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.0001343/0.5276, allocations: 121.7 kB / 0.6978 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.5277, allocations: 3.953 kB / 0.6978 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.5285, allocations: 352.2 kB / 0.6981 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5285, allocations: 0 / 0.6981 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5285, allocations: 0 / 0.6981 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5285, allocations: 4 kB / 0.6981 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.5297, allocations: 0.6809 MB / 0.6988 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5297, allocations: 256 / 0.6988 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/0.5304, allocations: 59.83 kB / 0.6989 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5304, allocations: 4 kB / 0.6989 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.5304, allocations: 7.984 kB / 0.6989 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5304, allocations: 0 / 0.6989 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5304, allocations: 4 kB / 0.6989 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.531, allocations: 353.5 kB / 0.6992 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.5311, allocations: 27.91 kB / 0.6992 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.5312, allocations: 4 kB / 0.6992 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/0.5317, allocations: 8 kB / 0.6992 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.5318, allocations: 19.97 kB / 0.6993 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.5318, allocations: 11.98 kB / 0.6993 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.691e-05/0.5319, allocations: 87.22 kB / 0.6994 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5319, allocations: 0 / 0.6994 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004656/0.5323, allocations: 103.7 kB / 0.6995 GB, free: 6.332 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.0004601/0.5328, allocations: 222.8 kB / 0.6997 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005431/0.5333, allocations: 199.8 kB / 0.6999 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5333, allocations: 0 / 0.6999 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.5336, allocations: 119.8 kB / 0.7 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.5341, allocations: 28.05 kB / 0.7 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.5348, allocations: 286.3 kB / 0.7003 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.034e-05/0.5348, allocations: 83.44 kB / 0.7004 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.5351, allocations: 39.39 kB / 0.7004 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of SimCode: time 4.3e-07/0.5351, allocations: 3.938 kB / 0.7004 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of Templates: time 0.00699/0.542, allocations: 4.154 MB / 0.7045 GB, free: 1.148 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/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_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: 8.145426657050848]