Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.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.002034/0.002034, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001944/0.001944, allocations: 207.5 kB / 23.73 MB, free: 4.391 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.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.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.2395/0.2395, allocations: 46.94 MB / 360.8 MB, free: 3.934 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.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") translateModel(ModelicaTest.MultiBody.Forces.EngineGasForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|gasForce.f|gasForce.T|gasForce.V|gasForce.v_rel|gasForce.press",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002411/0.002411, allocations: 83.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3206, allocations: 66.09 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003483/0.3241, allocations: 1.991 MB / 0.5631 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3252, allocations: 0.5699 MB / 0.5637 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.298e-05/0.3253, allocations: 3.938 kB / 0.5637 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3254, allocations: 23.78 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.3255, allocations: 43.64 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.3259, allocations: 79.83 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.3261, allocations: 183.3 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3263, allocations: 37.64 kB / 0.564 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3264, allocations: 79.77 kB / 0.5641 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3266, allocations: 79.66 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.3266, allocations: 19.94 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.077e-05/0.3267, allocations: 16 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.3267, allocations: 35.84 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.3268, allocations: 67.7 kB / 0.5643 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.327, allocations: 189.7 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3271, allocations: 0 / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3271, allocations: 0 / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3271, allocations: 0 / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007792/0.3278, allocations: 381.8 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.3279, allocations: 12.03 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.328, allocations: 24.83 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3283, allocations: 158.8 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3283, allocations: 8.609 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.3284, allocations: 16.12 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.3288, allocations: 213.2 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3289, allocations: 11.94 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3289, allocations: 4 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3289, allocations: 4 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.3292, allocations: 107.9 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.3301, allocations: 0.598 MB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.3304, allocations: 134.5 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3306, allocations: 56.83 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3306, allocations: 0 / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3306, allocations: 38.5 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.3306, allocations: 0 / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001403/0.332, allocations: 408.7 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.3321, allocations: 55.41 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3322, allocations: 150.2 kB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3323, allocations: 29.7 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/0.3323, allocations: 116.4 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.3324, allocations: 71.42 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.3325, allocations: 37.66 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3326, allocations: 330.8 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.3328, allocations: 67.95 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.3331, allocations: 95.39 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.3335, allocations: 173.9 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3335, allocations: 3.938 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005163/0.334, allocations: 224 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.334, allocations: 4 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.334, allocations: 4 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.334, allocations: 0 / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.3343, allocations: 59.98 kB / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3344, allocations: 4 kB / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.3345, allocations: 15.92 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.3345, allocations: 8 kB / 0.568 GB, free: 12.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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.0001289/0.3347, allocations: 125.8 kB / 0.5681 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.3347, allocations: 19.91 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.3348, allocations: 13.12 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3348, allocations: 7.984 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3348, allocations: 4 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3348, allocations: 3.938 kB / 0.5681 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.3358, allocations: 0.5222 MB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3359, allocations: 7.875 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.3361, allocations: 43.91 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.3361, allocations: 4 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3361, allocations: 4 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3361, allocations: 4 kB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3361, allocations: 3.984 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.3367, allocations: 295.3 kB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-05/0.3368, allocations: 31.83 kB / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.3368, allocations: 3.984 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.337, allocations: 23.92 kB / 0.5691 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.3371, allocations: 15.97 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3371, allocations: 4 kB / 0.5691 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.182e-05/0.3372, allocations: 119.8 kB / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3372, allocations: 0 / 0.5692 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.3375, allocations: 40 kB / 0.5692 GB, free: 11.43 MB / 414.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.0001325/0.3376, allocations: 95.25 kB / 0.5693 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004913/0.3381, allocations: 166.5 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3381, allocations: 0 / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.3383, allocations: 83.88 kB / 0.5696 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3387, allocations: 19.94 kB / 0.5696 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008194/0.3395, allocations: 365.9 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.3396, allocations: 108 kB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.3398, allocations: 21.42 kB / 0.5701 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.3399, allocations: 27.42 kB / 0.5701 GB, free: 10.51 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3399, allocations: 0 / 0.5701 GB, free: 10.51 MB / 414.1 MB Notification: Performance of Templates: time 0.00575/0.3456, allocations: 2.094 MB / 0.5721 GB, free: 8.441 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.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.17829767242074]