Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001532/0.001532, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002313/0.002313, allocations: 214.8 kB / 24.48 MB, free: 3.957 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 46.96 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3299, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1741/0.504, allocations: 133.3 MB / 0.692 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.5057, allocations: 1.063 MB / 0.693 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.5057, allocations: 4 kB / 0.693 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.5059, allocations: 35.81 kB / 0.693 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.506, allocations: 27.77 kB / 0.6931 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.5073, allocations: 429.7 kB / 0.6935 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.5075, allocations: 75.53 kB / 0.6935 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.5075, allocations: 0 / 0.6935 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.5076, allocations: 35.91 kB / 0.6936 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.5077, allocations: 23.92 kB / 0.6936 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.5077, allocations: 0 / 0.6936 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.5088, allocations: 482.8 kB / 0.6941 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.5089, allocations: 15.92 kB / 0.6941 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.5089, allocations: 19.88 kB / 0.6941 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005394/0.5094, allocations: 305.8 kB / 0.6944 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5094, allocations: 0 / 0.6944 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5094, allocations: 0 / 0.6944 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.5094, allocations: 0 / 0.6944 GB, free: 11.87 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.0006088/0.5101, allocations: 329.7 kB / 0.6947 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5101, allocations: 8.031 kB / 0.6947 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.5101, allocations: 12.88 kB / 0.6947 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.5103, allocations: 121.1 kB / 0.6948 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.5103, allocations: 4 kB / 0.6948 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.5103, allocations: 11.98 kB / 0.6948 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.5105, allocations: 65.67 kB / 0.6949 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5105, allocations: 0 / 0.6949 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.5105, allocations: 0 / 0.6949 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.5106, allocations: 11.98 kB / 0.6949 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.109e-05/0.5106, allocations: 47.97 kB / 0.695 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.5111, allocations: 260.3 kB / 0.6952 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.5112, allocations: 66.48 kB / 0.6953 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.5112, allocations: 16.86 kB / 0.6953 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.5128, allocations: 251.8 kB / 0.6955 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.5128, allocations: 38.69 kB / 0.6956 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.5128, allocations: 0 / 0.6956 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007785/0.5206, allocations: 0.6607 MB / 0.6962 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5206, allocations: 51.41 kB / 0.6963 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.5207, allocations: 101.9 kB / 0.6964 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.5208, allocations: 29.69 kB / 0.6964 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.5208, allocations: 100.2 kB / 0.6965 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.5209, allocations: 47.58 kB / 0.6965 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.521, allocations: 41.67 kB / 0.6966 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5212, allocations: 318.8 kB / 0.6969 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.5214, allocations: 87.88 kB / 0.697 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.5217, allocations: 105.3 kB / 0.6971 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.5221, allocations: 198.5 kB / 0.6972 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5221, allocations: 0 / 0.6972 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005991/0.5227, allocations: 253.4 kB / 0.6975 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5227, allocations: 4 kB / 0.6975 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5227, allocations: 4.062 kB / 0.6975 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5228, allocations: 7.938 kB / 0.6975 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.5235, allocations: 51.88 kB / 0.6976 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5235, allocations: 4 kB / 0.6976 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.524, allocations: 16 kB / 0.6976 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.5241, allocations: 11.98 kB / 0.6976 GB, free: 8.398 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.0001387/0.5242, allocations: 125.7 kB / 0.6977 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.5243, allocations: 7.953 kB / 0.6977 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008872/0.5252, allocations: 342 kB / 0.698 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5252, allocations: 0 / 0.698 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5252, allocations: 0 / 0.698 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.5252, allocations: 3.984 kB / 0.698 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.5264, allocations: 0.6911 MB / 0.6987 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.5264, allocations: 4 kB / 0.6987 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/0.5271, allocations: 44.16 kB / 0.6988 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5271, allocations: 0 / 0.6988 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.5271, allocations: 15.98 kB / 0.6988 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5271, allocations: 0 / 0.6988 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5271, allocations: 0 / 0.6988 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.5278, allocations: 355.3 kB / 0.6991 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5279, allocations: 27.91 kB / 0.6991 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.528, allocations: 0 / 0.6991 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.5285, allocations: 23.97 kB / 0.6992 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.5286, allocations: 11.97 kB / 0.6992 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.5286, allocations: 8 kB / 0.6992 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.5287, allocations: 91.2 kB / 0.6993 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5287, allocations: 0 / 0.6993 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004812/0.5292, allocations: 103.7 kB / 0.6994 GB, free: 6.461 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.0004767/0.5296, allocations: 226.7 kB / 0.6996 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005441/0.5302, allocations: 203.8 kB / 0.6998 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5302, allocations: 0 / 0.6998 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.5304, allocations: 113.5 kB / 0.6999 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.5309, allocations: 34.75 kB / 0.6999 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.5316, allocations: 270.3 kB / 0.7002 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.1e-05/0.5317, allocations: 87.44 kB / 0.7003 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5319, allocations: 39.38 kB / 0.7003 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of SimCode: time 7.22e-07/0.5319, allocations: 4 kB / 0.7003 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of Templates: time 0.00735/0.5393, allocations: 4.157 MB / 0.7044 GB, free: 1.281 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 7.918827649002196]