Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.001623/0.001623, allocations: 77.31 kB / 21.25 MB, free: 0.5469 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.001983/0.001983, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.484/1.484, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.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.2074/0.2074, allocations: 34.26 MB / 295.4 MB, free: 14.49 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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 79.88 kB / 443.2 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2894, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01129/0.3007, allocations: 13.51 MB / 0.5105 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00864/0.3093, allocations: 4.738 MB / 0.5151 GB, free: 17.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.3112, allocations: 120.9 kB / 0.5152 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00797/0.3192, allocations: 4.863 MB / 0.52 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.3256, allocations: 2.562 MB / 0.5225 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.3282, allocations: 1.101 MB / 0.5235 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009544/0.3378, allocations: 6.895 MB / 0.5303 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005557/0.3433, allocations: 4.444 MB / 0.5346 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004111/0.3474, allocations: 2.452 MB / 0.537 GB, free: 8.254 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004841/0.3523, allocations: 3.24 MB / 0.5402 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.3537, allocations: 0.5035 MB / 0.5407 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/0.357, allocations: 1.305 MB / 0.5419 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003307/0.3603, allocations: 3.054 MB / 0.5449 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005219/0.3655, allocations: 2.5 MB / 0.5474 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.3791, allocations: 10.46 MB / 0.5576 GB, free: 7.609 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3791, allocations: 0 / 0.5576 GB, free: 7.609 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3791, allocations: 0 / 0.5576 GB, free: 7.609 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002768/0.3794, allocations: 0 / 0.5576 GB, free: 7.609 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01745/0.3968, allocations: 7.532 MB / 0.5649 GB, free: 4 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.3969, allocations: 8.078 kB / 0.5649 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/0.4099, allocations: 2.855 MB / 0.5677 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.42, allocations: 4.211 MB / 0.5718 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.4203, allocations: 353.5 kB / 0.5722 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.4216, allocations: 483.7 kB / 0.5726 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02905/0.4506, allocations: 14.73 MB / 0.587 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002403/0.4509, allocations: 67.47 kB / 0.5871 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006672/0.4516, allocations: 231.8 kB / 0.5873 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005438/0.457, allocations: 2.746 MB / 0.59 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/0.4838, allocations: 12.44 MB / 0.6021 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07772/0.5616, allocations: 54.62 MB / 0.6555 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01953/0.5811, allocations: 6.785 MB / 0.6621 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005368/0.5865, allocations: 3.559 MB / 0.6656 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/0.6012, allocations: 7.716 MB / 0.6731 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.254e-05/0.6012, allocations: 60.56 kB / 0.6732 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=246): time 6.623e-06/0.6012, allocations: 0 / 0.6732 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=288): time 0.3214/0.9226, allocations: 33.38 MB / 0.7058 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/0.9227, allocations: 242.2 kB / 0.706 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006947/0.9297, allocations: 5.549 MB / 0.7114 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005277/0.9302, allocations: 67.33 kB / 0.7115 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002113/0.9323, allocations: 4.596 MB / 0.716 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.9333, allocations: 1.142 MB / 0.7171 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/0.9354, allocations: 1.798 MB / 0.7188 GB, free: 133.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.9354, allocations: 301.7 kB / 0.7191 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/0.9403, allocations: 3.601 MB / 0.7226 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006419/0.9467, allocations: 8.649 MB / 0.7311 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/0.9588, allocations: 13.13 MB / 0.7439 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001537/0.959, allocations: 49.94 kB / 0.744 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.01949/0.9785, allocations: 13.9 MB / 0.7575 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.731e-05/0.9786, allocations: 81.09 kB / 0.7576 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/0.9787, allocations: 175.8 kB / 0.7578 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004795/0.9835, allocations: 2.257 MB / 0.76 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005601/0.9891, allocations: 2.02 MB / 0.762 GB, free: 106.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.002, allocations: 13.83 MB / 0.7755 GB, free: 92.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/1.009, allocations: 0.5034 MB / 0.776 GB, free: 92.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009421/1.01, allocations: 0.5115 MB / 0.7765 GB, free: 91.76 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1058): * Single equations (assignments): 1051 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00369/1.014, allocations: 2.992 MB / 0.7794 GB, free: 88.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008645/1.014, allocations: 496.7 kB / 0.7798 GB, free: 88.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.025, allocations: 7.074 MB / 0.7868 GB, free: 81.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.455e-05/1.025, allocations: 32 kB / 0.7868 GB, free: 81.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/1.025, allocations: 8 kB / 0.7868 GB, free: 81.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/1.025, allocations: 15.95 kB / 0.7868 GB, free: 81.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.045, allocations: 13.28 MB / 0.7998 GB, free: 67.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.045, allocations: 8.062 kB / 0.7998 GB, free: 67.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/1.048, allocations: 500 kB / 0.8003 GB, free: 67.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004625/1.052, allocations: 2.02 MB / 0.8022 GB, free: 65.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002817/1.052, allocations: 55.98 kB / 0.8023 GB, free: 65.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/1.067, allocations: 13.21 MB / 0.8152 GB, free: 51.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.067, allocations: 4.469 kB / 0.8152 GB, free: 51.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/1.082, allocations: 11.33 MB / 0.8263 GB, free: 40.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.084, allocations: 448.5 kB / 0.8267 GB, free: 39.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/1.085, allocations: 48 kB / 0.8267 GB, free: 39.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/1.089, allocations: 207.6 kB / 0.8269 GB, free: 39.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006378/1.089, allocations: 193.5 kB / 0.8271 GB, free: 39.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/1.09, allocations: 79.67 kB / 0.8272 GB, free: 39.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00536/1.095, allocations: 3.237 MB / 0.8303 GB, free: 36.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/1.095, allocations: 0 / 0.8303 GB, free: 36.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009136/1.104, allocations: 1.566 MB / 0.8319 GB, free: 34.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (232): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009686/1.105, allocations: 197.3 kB / 0.8321 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.117, allocations: 8.368 MB / 0.8402 GB, free: 26.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.117, allocations: 0 / 0.8402 GB, free: 26.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005246/1.122, allocations: 3.247 MB / 0.8434 GB, free: 22.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005217/1.127, allocations: 0.6075 MB / 0.844 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.151, allocations: 15 MB / 0.8587 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006761/1.158, allocations: 4.057 MB / 0.8626 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00622/1.164, allocations: 2.663 MB / 0.8652 GB, free: 320 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.166, allocations: 340.5 kB / 0.8655 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/1.166, allocations: 4 kB / 0.8655 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.1104/1.276, allocations: 55.2 MB / 0.9195 GB, free: 9.363 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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: 8.071566109079868]