Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001549/0.001549, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.001622/0.001622, allocations: 163.8 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.394/1.394, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 32.82 MB / 293.5 MB, free: 36 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.517e-05, allocations: 13.25 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3238/0.3239, allocations: 133.3 MB / 0.5599 GB, free: 4.695 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3254, allocations: 1.065 MB / 0.561 GB, free: 3.637 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.3255, allocations: 0 / 0.561 GB, free: 3.637 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.3256, allocations: 31.81 kB / 0.561 GB, free: 3.605 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.3257, allocations: 27.78 kB / 0.561 GB, free: 3.578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3268, allocations: 444.2 kB / 0.5614 GB, free: 3.145 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.327, allocations: 71.53 kB / 0.5615 GB, free: 3.074 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.327, allocations: 7.922 kB / 0.5615 GB, free: 3.066 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3271, allocations: 55.81 kB / 0.5616 GB, free: 3.012 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.3272, allocations: 19.92 kB / 0.5616 GB, free: 2.992 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3272, allocations: 0 / 0.5616 GB, free: 2.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009706/0.3281, allocations: 470.5 kB / 0.562 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.3282, allocations: 7.984 kB / 0.562 GB, free: 2.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.3282, allocations: 27.92 kB / 0.5621 GB, free: 2.496 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.3287, allocations: 331.2 kB / 0.5624 GB, free: 2.172 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3288, allocations: 0 / 0.5624 GB, free: 2.172 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3288, allocations: 0 / 0.5624 GB, free: 2.172 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3288, allocations: 0 / 0.5624 GB, free: 2.172 MB / 462.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.0007063/0.3295, allocations: 334.5 kB / 0.5627 GB, free: 1.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3295, allocations: 8.031 kB / 0.5627 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.3296, allocations: 16.89 kB / 0.5627 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3297, allocations: 109.2 kB / 0.5628 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3297, allocations: 9.406 kB / 0.5628 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.3297, allocations: 11.95 kB / 0.5629 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3299, allocations: 74.28 kB / 0.5629 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3299, allocations: 4 kB / 0.5629 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3299, allocations: 4 kB / 0.5629 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3299, allocations: 0 / 0.5629 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.33, allocations: 58.47 kB / 0.563 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.3305, allocations: 248.4 kB / 0.5632 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3306, allocations: 60.36 kB / 0.5633 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.3307, allocations: 21.03 kB / 0.5633 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.3321, allocations: 260.1 kB / 0.5636 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3321, allocations: 36.25 kB / 0.5636 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3321, allocations: 0 / 0.5636 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007168/0.3393, allocations: 0.6572 MB / 0.5642 GB, free: 184 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3394, allocations: 59.41 kB / 0.5643 GB, free: 112 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.3395, allocations: 101.9 kB / 0.5644 GB, free: 0 / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.3395, allocations: 29.7 kB / 0.5644 GB, free: 15.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.3396, allocations: 92.86 kB / 0.5645 GB, free: 15.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.3396, allocations: 55.53 kB / 0.5646 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3398, allocations: 41.67 kB / 0.5646 GB, free: 15.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3399, allocations: 314.8 kB / 0.5649 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.3401, allocations: 83.94 kB / 0.565 GB, free: 15.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.3404, allocations: 106.5 kB / 0.5651 GB, free: 15.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.3408, allocations: 202.5 kB / 0.5653 GB, free: 15.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3408, allocations: 0 / 0.5653 GB, free: 15.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006006/0.3414, allocations: 249.4 kB / 0.5655 GB, free: 14.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3415, allocations: 11.98 kB / 0.5655 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3415, allocations: 3.938 kB / 0.5655 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3415, allocations: 0 / 0.5655 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/0.3422, allocations: 47.95 kB / 0.5656 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3422, allocations: 8.062 kB / 0.5656 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.3428, allocations: 11.98 kB / 0.5656 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.3428, allocations: 15.98 kB / 0.5656 GB, free: 14.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.0001287/0.3429, allocations: 118.4 kB / 0.5657 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.343, allocations: 7.953 kB / 0.5657 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008369/0.3438, allocations: 357 kB / 0.5661 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3438, allocations: 7.938 kB / 0.5661 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3439, allocations: 0 / 0.5661 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3439, allocations: 0 / 0.5661 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.345, allocations: 0.6698 MB / 0.5667 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.345, allocations: 0 / 0.5667 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.3457, allocations: 52.77 kB / 0.5668 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3457, allocations: 0 / 0.5668 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.3457, allocations: 11.98 kB / 0.5668 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3457, allocations: 0 / 0.5668 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3457, allocations: 0 / 0.5668 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.3463, allocations: 355.3 kB / 0.5671 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.3464, allocations: 27.84 kB / 0.5672 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.3465, allocations: 6.312 kB / 0.5672 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.347, allocations: 8 kB / 0.5672 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.3471, allocations: 15.97 kB / 0.5672 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.3471, allocations: 11.98 kB / 0.5672 GB, free: 12.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.3472, allocations: 87.27 kB / 0.5673 GB, free: 12.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3472, allocations: 0 / 0.5673 GB, free: 12.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004245/0.3476, allocations: 103.7 kB / 0.5674 GB, free: 12.79 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.0004731/0.3481, allocations: 233.5 kB / 0.5676 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005328/0.3486, allocations: 206.7 kB / 0.5678 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3486, allocations: 0 / 0.5678 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.3489, allocations: 103.9 kB / 0.5679 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.3492, allocations: 38.11 kB / 0.5679 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.3498, allocations: 254.3 kB / 0.5682 GB, free: 11.94 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.926e-05/0.3499, allocations: 83.31 kB / 0.5683 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.3502, allocations: 73.94 kB / 0.5683 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.3505, allocations: 32.45 kB / 0.5684 GB, free: 11.74 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3505, allocations: 4 kB / 0.5684 GB, free: 11.73 MB / 478.1 MB Notification: Performance of Templates: time 0.01122/0.3617, allocations: 6.696 MB / 0.5749 GB, free: 5.059 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.055721465498209]