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.001418/0.001418, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001444/0.001444, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.523/1.523, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.2688/0.2688, allocations: 34.28 MB / 294.9 MB, free: 14.59 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 1.864e-06/1.864e-06, allocations: 0 / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.127e-05, allocations: 5.375 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3389/0.339, allocations: 133.3 MB / 0.5625 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3407, allocations: 1.065 MB / 0.5635 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.3407, allocations: 0 / 0.5635 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.3409, allocations: 35.81 kB / 0.5635 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.341, allocations: 31.72 kB / 0.5636 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.3425, allocations: 436.4 kB / 0.564 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.3426, allocations: 75.53 kB / 0.5641 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.3426, allocations: 7.938 kB / 0.5641 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3428, allocations: 43.83 kB / 0.5641 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.3428, allocations: 19.97 kB / 0.5641 GB, free: 15 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3428, allocations: 0 / 0.5641 GB, free: 15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.344, allocations: 470.5 kB / 0.5646 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.3441, allocations: 19.91 kB / 0.5646 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.3441, allocations: 12 kB / 0.5646 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006794/0.3448, allocations: 335.2 kB / 0.5649 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3448, allocations: 3.938 kB / 0.5649 GB, free: 14.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3448, allocations: 0 / 0.5649 GB, free: 14.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.3448, allocations: 4 kB / 0.5649 GB, free: 14.17 MB / 478.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.0006084/0.3454, allocations: 334.4 kB / 0.5652 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3454, allocations: 8.031 kB / 0.5653 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.3455, allocations: 14.77 kB / 0.5653 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3456, allocations: 113.2 kB / 0.5654 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3456, allocations: 4 kB / 0.5654 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.3457, allocations: 11.95 kB / 0.5654 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3458, allocations: 73.67 kB / 0.5655 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3458, allocations: 0 / 0.5655 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3459, allocations: 0 / 0.5655 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3459, allocations: 0 / 0.5655 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.346, allocations: 51.91 kB / 0.5655 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.3464, allocations: 256.4 kB / 0.5658 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3465, allocations: 66.47 kB / 0.5658 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.3466, allocations: 16.86 kB / 0.5658 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/0.348, allocations: 257.8 kB / 0.5661 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.348, allocations: 30.56 kB / 0.5661 GB, free: 12.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.348, allocations: 0 / 0.5661 GB, free: 12.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=14): time 0.007257/0.3553, allocations: 0.669 MB / 0.5668 GB, free: 12.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.3553, allocations: 63.34 kB / 0.5668 GB, free: 12.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3554, allocations: 106.4 kB / 0.5669 GB, free: 11.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.3555, allocations: 25.7 kB / 0.567 GB, free: 11.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.3556, allocations: 92.31 kB / 0.567 GB, free: 11.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.486e-05/0.3556, allocations: 47.59 kB / 0.5671 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3557, allocations: 41.67 kB / 0.5671 GB, free: 11.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3559, allocations: 318.8 kB / 0.5674 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.3561, allocations: 83.88 kB / 0.5675 GB, free: 11.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.3564, allocations: 106.5 kB / 0.5676 GB, free: 11.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.3569, allocations: 207.1 kB / 0.5678 GB, free: 11.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3569, allocations: 0 / 0.5678 GB, free: 11.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000648/0.3575, allocations: 253.3 kB / 0.568 GB, free: 10.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3576, allocations: 4 kB / 0.5681 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3576, allocations: 3.938 kB / 0.5681 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3576, allocations: 4 kB / 0.5681 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.3583, allocations: 53.38 kB / 0.5681 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3583, allocations: 4 kB / 0.5681 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.3589, allocations: 16 kB / 0.5681 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.3589, allocations: 7.984 kB / 0.5681 GB, free: 10.7 MB / 478.1 MB 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.0001434/0.3591, allocations: 126.4 kB / 0.5683 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.3591, allocations: 7.953 kB / 0.5683 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009105/0.36, allocations: 348 kB / 0.5686 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.36, allocations: 0 / 0.5686 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.36, allocations: 2.562 kB / 0.5686 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.36, allocations: 0 / 0.5686 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.3613, allocations: 0.6782 MB / 0.5693 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3613, allocations: 0 / 0.5693 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.362, allocations: 43.91 kB / 0.5693 GB, free: 9.422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.362, allocations: 4 kB / 0.5693 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.362, allocations: 11.98 kB / 0.5693 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.362, allocations: 0 / 0.5693 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.362, allocations: 0 / 0.5693 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.3627, allocations: 358.3 kB / 0.5697 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.3628, allocations: 27.84 kB / 0.5697 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.3628, allocations: 8 kB / 0.5697 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.3634, allocations: 7.984 kB / 0.5697 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.3635, allocations: 19.97 kB / 0.5697 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.3635, allocations: 7.938 kB / 0.5697 GB, free: 8.973 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.178e-05/0.3635, allocations: 95.27 kB / 0.5698 GB, free: 8.879 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3635, allocations: 0 / 0.5698 GB, free: 8.879 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004775/0.364, allocations: 99.73 kB / 0.5699 GB, free: 8.781 MB / 478.1 MB 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.0005132/0.3645, allocations: 227.8 kB / 0.5701 GB, free: 8.551 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005605/0.3651, allocations: 199.8 kB / 0.5703 GB, free: 8.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.3651, allocations: 0 / 0.5703 GB, free: 8.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.3654, allocations: 111.9 kB / 0.5704 GB, free: 8.246 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.3658, allocations: 43.11 kB / 0.5705 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.3664, allocations: 246.2 kB / 0.5707 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.126e-05/0.3665, allocations: 83.31 kB / 0.5708 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000327/0.3668, allocations: 61.73 kB / 0.5708 GB, free: 7.781 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.3671, allocations: 44.44 kB / 0.5709 GB, free: 7.738 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3671, allocations: 0 / 0.5709 GB, free: 7.738 MB / 478.1 MB Notification: Performance of Templates: time 0.01224/0.3793, allocations: 6.692 MB / 0.5774 GB, free: 1.07 MB / 478.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/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: 5.332281414419413]