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.001958/0.001958, allocations: 119.5 kB / 18.45 MB, free: 4.613 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.001909/0.001909, allocations: 201.8 kB / 21.4 MB, free: 1.668 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.568/1.568, allocations: 227.4 MB / 251.6 MB, free: 60 kB / 190.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.2491/0.2491, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.002204/0.002204, allocations: 82.03 kB / 490.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1363, allocations: 62.45 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.5001/0.6365, allocations: 154.4 MB / 0.6904 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.6381, allocations: 1.193 MB / 0.6916 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.6382, allocations: 2.375 kB / 0.6916 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.6384, allocations: 46.38 kB / 0.6916 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.6385, allocations: 24.84 kB / 0.6917 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.6398, allocations: 440.9 kB / 0.6921 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.6399, allocations: 76.09 kB / 0.6921 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.64, allocations: 6.688 kB / 0.6922 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.6401, allocations: 33.53 kB / 0.6922 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.6402, allocations: 23.98 kB / 0.6922 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.6402, allocations: 0 / 0.6922 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.6413, allocations: 0.5 MB / 0.6927 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.6413, allocations: 15.66 kB / 0.6927 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.6414, allocations: 28.38 kB / 0.6927 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.6419, allocations: 320.6 kB / 0.693 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6419, allocations: 0 / 0.693 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6419, allocations: 0 / 0.693 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.6419, allocations: 0 / 0.693 GB, free: 0.7617 MB / 494.1 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.0005747/0.6425, allocations: 409.8 kB / 0.6934 GB, free: 356 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.6426, allocations: 9.812 kB / 0.6934 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.6426, allocations: 8.906 kB / 0.6935 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.6427, allocations: 173.1 kB / 0.6936 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6428, allocations: 6.938 kB / 0.6936 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.6428, allocations: 4.5 kB / 0.6936 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.6429, allocations: 68.02 kB / 0.6937 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.643, allocations: 4 kB / 0.6937 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.643, allocations: 0 / 0.6937 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.643, allocations: 6.969 kB / 0.6937 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.6431, allocations: 45.09 kB / 0.6937 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.6436, allocations: 383.7 kB / 0.6941 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.6437, allocations: 68.88 kB / 0.6942 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.6438, allocations: 25.3 kB / 0.6942 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.6456, allocations: 1.219 MB / 0.6954 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6457, allocations: 30.56 kB / 0.6954 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.6457, allocations: 0 / 0.6954 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0066/0.6523, allocations: 0.6624 MB / 0.6961 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.6524, allocations: 57.94 kB / 0.6961 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.6525, allocations: 103.2 kB / 0.6962 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.6525, allocations: 25.7 kB / 0.6963 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.6526, allocations: 94.83 kB / 0.6963 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.6526, allocations: 57.23 kB / 0.6964 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.6528, allocations: 42.52 kB / 0.6964 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6529, allocations: 317 kB / 0.6967 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.6531, allocations: 82.47 kB / 0.6968 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.6533, allocations: 108.8 kB / 0.6969 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.6538, allocations: 200.8 kB / 0.6971 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6538, allocations: 3.938 kB / 0.6971 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005367/0.6543, allocations: 247.7 kB / 0.6974 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6544, allocations: 11.84 kB / 0.6974 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6544, allocations: 0 / 0.6974 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6544, allocations: 0 / 0.6974 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.655, allocations: 51.19 kB / 0.6974 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6551, allocations: 1.812 kB / 0.6974 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.6556, allocations: 16.69 kB / 0.6974 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6557, allocations: 9.609 kB / 0.6974 GB, free: 12.79 MB / 0.4981 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.0001257/0.6558, allocations: 126 kB / 0.6976 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.6559, allocations: 15.05 kB / 0.6976 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007666/0.6567, allocations: 341.6 kB / 0.6979 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6567, allocations: 6.719 kB / 0.6979 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6567, allocations: 0 / 0.6979 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.6567, allocations: 0 / 0.6979 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.6578, allocations: 0.7624 MB / 0.6986 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6579, allocations: 0 / 0.6986 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.6585, allocations: 49.08 kB / 0.6987 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6585, allocations: 0 / 0.6987 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.6585, allocations: 6.094 kB / 0.6987 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6585, allocations: 2.312 kB / 0.6987 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6585, allocations: 3.984 kB / 0.6987 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.6591, allocations: 364.2 kB / 0.6991 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.6593, allocations: 98.48 kB / 0.6991 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.6593, allocations: 6.281 kB / 0.6992 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/0.6598, allocations: 9.094 kB / 0.6992 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.6599, allocations: 19.66 kB / 0.6992 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.6599, allocations: 5.031 kB / 0.6992 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.66, allocations: 93.42 kB / 0.6993 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.66, allocations: 4 kB / 0.6993 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004488/0.6605, allocations: 102.7 kB / 0.6994 GB, free: 11.2 MB / 0.4981 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.0004372/0.6609, allocations: 217.2 kB / 0.6996 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.6614, allocations: 210.5 kB / 0.6998 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6614, allocations: 0 / 0.6998 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.6617, allocations: 118.3 kB / 0.6999 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.6621, allocations: 32.19 kB / 0.6999 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006086/0.6627, allocations: 257.5 kB / 0.7002 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.6631, allocations: 0.6979 MB / 0.7009 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003456/0.6635, allocations: 69.67 kB / 0.7009 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.6637, allocations: 35.58 kB / 0.701 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.6637, allocations: 0 / 0.701 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of Templates: time 0.01161/0.6753, allocations: 6.223 MB / 0.707 GB, free: 3.773 MB / 0.4981 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: 5.80800349637866]