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.001764/0.001764, allocations: 116.1 kB / 19.13 MB, free: 3.965 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.002123/0.002123, allocations: 208.9 kB / 22.08 MB, free: 1.012 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.457/1.457, allocations: 227.4 MB / 252.3 MB, free: 96 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.2229/0.2229, allocations: 46.16 MB / 351.8 MB, free: 14.3 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.002245/0.002245, allocations: 77.38 kB / 490.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1181, allocations: 62.45 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4466/0.5647, allocations: 154.4 MB / 0.6911 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.5663, allocations: 1.196 MB / 0.6923 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.5663, allocations: 0 / 0.6923 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.5666, allocations: 43.62 kB / 0.6923 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.5666, allocations: 27.06 kB / 0.6923 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.5679, allocations: 438.9 kB / 0.6927 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.568, allocations: 81.12 kB / 0.6928 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.5681, allocations: 6.469 kB / 0.6928 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.5681, allocations: 33.25 kB / 0.6929 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.5682, allocations: 20.8 kB / 0.6929 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.5682, allocations: 2.562 kB / 0.6929 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.5693, allocations: 0.5007 MB / 0.6934 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.5693, allocations: 10.67 kB / 0.6934 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.5694, allocations: 28.52 kB / 0.6934 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.5699, allocations: 319.4 kB / 0.6937 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5699, allocations: 0 / 0.6937 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5699, allocations: 0 / 0.6937 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.5699, allocations: 0 / 0.6937 GB, free: 0.7891 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.0006046/0.5706, allocations: 412 kB / 0.6941 GB, free: 384 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.5706, allocations: 10 kB / 0.6941 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.5706, allocations: 4.344 kB / 0.6941 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.5708, allocations: 177.6 kB / 0.6943 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5708, allocations: 4 kB / 0.6943 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.5708, allocations: 5 kB / 0.6943 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.571, allocations: 76.92 kB / 0.6944 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.571, allocations: 0 / 0.6944 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.571, allocations: 2.156 kB / 0.6944 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.571, allocations: 0 / 0.6944 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.5711, allocations: 51.44 kB / 0.6944 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.5716, allocations: 388 kB / 0.6948 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.5718, allocations: 64.72 kB / 0.6948 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.5718, allocations: 21.69 kB / 0.6949 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/0.5737, allocations: 1.217 MB / 0.6961 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5737, allocations: 34.5 kB / 0.6961 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.5737, allocations: 0 / 0.6961 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.006748/0.5805, allocations: 0.6581 MB / 0.6967 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.5806, allocations: 55.69 kB / 0.6968 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5807, allocations: 104.8 kB / 0.6969 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.5807, allocations: 25.7 kB / 0.6969 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.5808, allocations: 95.22 kB / 0.697 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.5809, allocations: 60.3 kB / 0.6971 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.581, allocations: 46.52 kB / 0.6971 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5811, allocations: 316.8 kB / 0.6974 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.5813, allocations: 80.56 kB / 0.6975 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.5816, allocations: 105.2 kB / 0.6976 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.582, allocations: 203.5 kB / 0.6978 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.582, allocations: 0 / 0.6978 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005609/0.5826, allocations: 250.3 kB / 0.698 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5826, allocations: 7.438 kB / 0.698 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5826, allocations: 0 / 0.698 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5826, allocations: 0 / 0.698 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.5833, allocations: 55.06 kB / 0.6981 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.5834, allocations: 2.969 kB / 0.6981 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.5839, allocations: 16.53 kB / 0.6981 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.584, allocations: 11.36 kB / 0.6981 GB, free: 12.82 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.0001335/0.5841, allocations: 128.4 kB / 0.6982 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.5842, allocations: 7.203 kB / 0.6982 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008021/0.585, allocations: 348.8 kB / 0.6986 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.585, allocations: 2.531 kB / 0.6986 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.585, allocations: 0 / 0.6986 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.585, allocations: 3.984 kB / 0.6986 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.5862, allocations: 0.7549 MB / 0.6993 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5862, allocations: 7.812 kB / 0.6993 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.5868, allocations: 48.42 kB / 0.6994 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5868, allocations: 0 / 0.6994 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.5869, allocations: 6.719 kB / 0.6994 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.5869, allocations: 6.703 kB / 0.6994 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5869, allocations: 0 / 0.6994 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.5875, allocations: 356 kB / 0.6997 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.5876, allocations: 105.9 kB / 0.6998 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.5877, allocations: 2.438 kB / 0.6998 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.5882, allocations: 9.375 kB / 0.6998 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.5883, allocations: 19.47 kB / 0.6998 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.5883, allocations: 8.875 kB / 0.6999 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.5884, allocations: 83.92 kB / 0.6999 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5884, allocations: 7.875 kB / 0.6999 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004364/0.5888, allocations: 103.7 kB / 0.7 GB, free: 11.23 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.0004166/0.5893, allocations: 223.8 kB / 0.7003 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.5898, allocations: 210.4 kB / 0.7005 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5898, allocations: 4.125 kB / 0.7005 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.59, allocations: 118.1 kB / 0.7006 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.5905, allocations: 34.27 kB / 0.7006 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006282/0.5911, allocations: 282 kB / 0.7009 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.5915, allocations: 0.694 MB / 0.7015 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.5917, allocations: 35.86 kB / 0.7016 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.5917, allocations: 0 / 0.7016 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of Templates: time 0.007116/0.5988, allocations: 4.123 MB / 0.7056 GB, free: 5.945 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.050226286053658]