Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.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.001741/0.001741, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002171/0.002171, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.405/1.405, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2163/0.2163, allocations: 46.97 MB / 361.6 MB, free: 4.074 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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 75.88 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3207, allocations: 66.03 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003329/0.3241, allocations: 1.998 MB / 0.5638 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3251, allocations: 0.566 MB / 0.5643 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.3252, allocations: 0 / 0.5643 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3253, allocations: 19.8 kB / 0.5643 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.3254, allocations: 47.56 kB / 0.5644 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.3258, allocations: 83.88 kB / 0.5645 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.326, allocations: 187.2 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3261, allocations: 33.7 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3263, allocations: 83.77 kB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3265, allocations: 83.67 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.3265, allocations: 12 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.145e-05/0.3266, allocations: 16 kB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.3266, allocations: 39.83 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.3267, allocations: 63.72 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.3269, allocations: 189.7 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.327, allocations: 3.984 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.327, allocations: 0 / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.327, allocations: 0 / 0.5651 GB, free: 0.7812 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.0008366/0.3278, allocations: 385.8 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3278, allocations: 8.031 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.328, allocations: 36.77 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.3283, allocations: 150.8 kB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3283, allocations: 12.61 kB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.3283, allocations: 12.12 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.3287, allocations: 225.1 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3287, allocations: 3.953 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3288, allocations: 8 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3288, allocations: 0 / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.3291, allocations: 115.9 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.33, allocations: 0.5903 MB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.3304, allocations: 134.6 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.3305, allocations: 52.83 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3306, allocations: 4 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3306, allocations: 42.44 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.3306, allocations: 0 / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001406/0.332, allocations: 404.4 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.332, allocations: 55.41 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3322, allocations: 155.5 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.3322, allocations: 25.7 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.3323, allocations: 120.4 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.3324, allocations: 67.42 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.3324, allocations: 37.67 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3326, allocations: 334.8 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3328, allocations: 55.97 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.333, allocations: 107.3 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.3334, allocations: 170.1 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3334, allocations: 4 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004999/0.3339, allocations: 221.3 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3339, allocations: 8 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3339, allocations: 3.984 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.334, allocations: 4 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.3343, allocations: 47.91 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.3343, allocations: 0 / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.3344, allocations: 20.02 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.3345, allocations: 8 kB / 0.5686 GB, free: 13 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.0001299/0.3346, allocations: 133.8 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.3346, allocations: 15.91 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.3347, allocations: 21.12 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3347, allocations: 0 / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3347, allocations: 3.938 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3347, allocations: 7.922 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009885/0.3357, allocations: 0.5319 MB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3357, allocations: 3.938 kB / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.336, allocations: 39.97 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.336, allocations: 0 / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.336, allocations: 8 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.336, allocations: 0 / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.336, allocations: 0 / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.3365, allocations: 307.8 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.3366, allocations: 35.8 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.3367, allocations: 4 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.3369, allocations: 15.98 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.3369, allocations: 11.97 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.337, allocations: 8 kB / 0.5697 GB, free: 11.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.052e-05/0.337, allocations: 111.2 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.337, allocations: 0 / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3373, allocations: 40 kB / 0.5699 GB, free: 11.64 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.0001279/0.3374, allocations: 107.1 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004525/0.3379, allocations: 158.8 kB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3379, allocations: 4 kB / 0.5701 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.3381, allocations: 88.08 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3384, allocations: 23.91 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.3392, allocations: 361.9 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.649e-05/0.3393, allocations: 104 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.3394, allocations: 25.42 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.3395, allocations: 19.44 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3395, allocations: 0 / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Templates: time 0.005425/0.3449, allocations: 2.151 MB / 0.5728 GB, free: 8.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/EngineGasForce/EngineGasForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.833544004999567]