Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.001676/0.001676, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001929/0.001929, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9842/0.9842, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.272/0.272, allocations: 34.86 MB / 296.3 MB, free: 500 kB / 266.7 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.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.67e-05, allocations: 3.578 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.00904/0.009066, allocations: 10.97 MB / 389.8 MB, free: 7.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.01567, allocations: 3.997 MB / 393.8 MB, free: 3.023 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009598/0.01663, allocations: 75.62 kB / 393.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.01961, allocations: 2.671 MB / 396.5 MB, free: 276 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.0226, allocations: 1.971 MB / 398.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.02372, allocations: 0.8537 MB / 399.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004055/0.02778, allocations: 5.196 MB / 404.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.03048, allocations: 3.377 MB / 407.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.03301, allocations: 2.436 MB / 410.3 MB, free: 2.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.03577, allocations: 2.541 MB / 412.9 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007035/0.03647, allocations: 340 kB / 413.2 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.03808, allocations: 0.9206 MB / 414.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.03946, allocations: 2.065 MB / 416.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.0406, allocations: 1.32 MB / 417.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.04423, allocations: 4.507 MB / 422 MB, free: 6.641 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.04423, allocations: 0 / 422 MB, free: 6.641 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.04423, allocations: 0 / 422 MB, free: 6.641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.55e-05/0.04429, allocations: 4 kB / 422 MB, free: 6.637 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.004987/0.04928, allocations: 5.275 MB / 427.3 MB, free: 1.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.04932, allocations: 12.03 kB / 427.3 MB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/0.05341, allocations: 2.514 MB / 429.8 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.05572, allocations: 2.1 MB / 431.9 MB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.05584, allocations: 246.7 kB / 432.2 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.05617, allocations: 332.2 kB / 432.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007048/0.06322, allocations: 6.576 MB / 439.1 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/0.06329, allocations: 51.58 kB / 439.1 MB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.06354, allocations: 155.9 kB / 439.3 MB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001741/0.06528, allocations: 1.9 MB / 441.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1871/0.2524, allocations: 3.28 MB / 444.4 MB, free: 88.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02733/0.2798, allocations: 45.4 MB / 489.8 MB, free: 52.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.2834, allocations: 2.129 MB / 492 MB, free: 51.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.2839, allocations: 476.9 kB / 492.4 MB, free: 51.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0037/0.2876, allocations: 3.942 MB / 496.4 MB, free: 49.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2876, allocations: 55.95 kB / 496.4 MB, free: 49.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 2.575e-06/0.2876, allocations: 0 / 496.4 MB, free: 49.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.01104/0.2987, allocations: 8.031 MB / 0.4926 GB, free: 46.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2987, allocations: 202.4 kB / 0.4928 GB, free: 45.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.3022, allocations: 3.508 MB / 0.4963 GB, free: 44.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.3023, allocations: 51.95 kB / 0.4963 GB, free: 44.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.3038, allocations: 3.466 MB / 0.4997 GB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/0.3042, allocations: 0.676 MB / 0.5004 GB, free: 41.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.3053, allocations: 1.31 MB / 0.5016 GB, free: 40.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.3054, allocations: 477.9 kB / 0.5021 GB, free: 40.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.3064, allocations: 0.5767 MB / 0.5027 GB, free: 40.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.3094, allocations: 6.367 MB / 0.5089 GB, free: 32.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005173/0.3146, allocations: 7.588 MB / 0.5163 GB, free: 23.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.971e-05/0.3147, allocations: 38.88 kB / 0.5163 GB, free: 23.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.006594/0.3213, allocations: 5.103 MB / 0.5213 GB, free: 21.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.572e-05/0.3213, allocations: 71.08 kB / 0.5214 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.3215, allocations: 136 kB / 0.5215 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001232/0.3216, allocations: 182.5 kB / 0.5217 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.3238, allocations: 1.433 MB / 0.5231 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001781/0.324, allocations: 268.8 kB / 0.5233 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.3269, allocations: 374.9 kB / 0.5237 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/0.3273, allocations: 375.5 kB / 0.524 GB, free: 21.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 772 * Array equations: 3 * 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.001307/0.3286, allocations: 0.6742 MB / 0.5247 GB, free: 20.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/0.3289, allocations: 375.5 kB / 0.5251 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.3291, allocations: 312.1 kB / 0.5254 GB, free: 19.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.3291, allocations: 20 kB / 0.5254 GB, free: 19.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/0.3292, allocations: 3.984 kB / 0.5254 GB, free: 19.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.3292, allocations: 6.703 kB / 0.5254 GB, free: 19.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.3342, allocations: 4.908 MB / 0.5302 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.3342, allocations: 20 kB / 0.5302 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.3347, allocations: 283.5 kB / 0.5305 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.3347, allocations: 24 kB / 0.5305 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.3348, allocations: 52.36 kB / 0.5305 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.681e-05/0.3348, allocations: 43.59 kB / 0.5306 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.3348, allocations: 27.88 kB / 0.5306 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.3364, allocations: 2.488 MB / 0.533 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.3367, allocations: 340.6 kB / 0.5334 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.3369, allocations: 48.17 kB / 0.5334 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006533/0.3376, allocations: 108.5 kB / 0.5335 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.3377, allocations: 149.4 kB / 0.5337 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.3378, allocations: 64.38 kB / 0.5337 GB, free: 11.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001608/0.3394, allocations: 1.505 MB / 0.5352 GB, free: 10.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3394, allocations: 0 / 0.5352 GB, free: 10.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002826/0.3422, allocations: 0.9821 MB / 0.5361 GB, free: 9.348 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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.0003265/0.3425, allocations: 204.8 kB / 0.5363 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003046/0.3456, allocations: 2.623 MB / 0.5389 GB, free: 6.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.3456, allocations: 4 kB / 0.5389 GB, free: 6.828 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.346, allocations: 465.3 kB / 0.5394 GB, free: 6.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.3474, allocations: 428.9 kB / 0.5398 GB, free: 6.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.3553, allocations: 7.692 MB / 0.5473 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.3563, allocations: 1.187 MB / 0.5484 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00227/0.3586, allocations: 1.571 MB / 0.55 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.359, allocations: 230.4 kB / 0.5502 GB, free: 12.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.359, allocations: 0 / 0.5502 GB, free: 12.58 MB / 426.7 MB Notification: Performance of Templates: time 0.03629/0.3953, allocations: 21.76 MB / 0.5714 GB, free: 8.25 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","",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.250518332701176]