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.001477/0.001477, allocations: 91.17 kB / 20.69 MB, free: 1.02 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.001521/0.001521, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.581/1.581, allocations: 177 MB / 204.1 MB, free: 9.148 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.216/0.216, allocations: 34.26 MB / 294.8 MB, free: 14.5 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 1.803e-06/1.803e-06, allocations: 0 / 442.7 MB, free: 5.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.032e-05, allocations: 4.672 kB / 442.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2192/0.2192, allocations: 13.48 MB / 456.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.2302, allocations: 4.75 MB / 460.9 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.2338, allocations: 124.9 kB / 461 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.2439, allocations: 5.116 MB / 466.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007978/0.2519, allocations: 2.637 MB / 468.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.255, allocations: 1.211 MB / 470 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01051/0.2655, allocations: 7.652 MB / 477.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009055/0.2746, allocations: 4.99 MB / 482.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/0.2868, allocations: 3.642 MB / 486.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007591/0.2944, allocations: 3.441 MB / 489.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001892/0.2963, allocations: 0.5195 MB / 490.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.3003, allocations: 1.362 MB / 491.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004402/0.3047, allocations: 3.191 MB / 494.8 MB, free: 1.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005128/0.3098, allocations: 1.963 MB / 496.8 MB, free: 15.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01611/0.3259, allocations: 10.49 MB / 0.4954 GB, free: 5.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3259, allocations: 0 / 0.4954 GB, free: 5.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.326, allocations: 0 / 0.4954 GB, free: 5.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003908/0.3263, allocations: 0 / 0.4954 GB, free: 5.199 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02149/0.3478, allocations: 7.564 MB / 0.5027 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3479, allocations: 8.031 kB / 0.5028 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.3625, allocations: 2.848 MB / 0.5055 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.3732, allocations: 4.202 MB / 0.5096 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.3736, allocations: 353.5 kB / 0.51 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/0.3753, allocations: 480.1 kB / 0.5104 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03275/0.4081, allocations: 14.73 MB / 0.5248 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000358/0.4084, allocations: 67.45 kB / 0.5249 GB, free: 5.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00182/0.4102, allocations: 223.8 kB / 0.5251 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006195/0.4164, allocations: 2.742 MB / 0.5278 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03062/0.4471, allocations: 12.45 MB / 0.5399 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08449/0.5316, allocations: 54.8 MB / 0.5934 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/0.5525, allocations: 6.774 MB / 0.6001 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005834/0.5584, allocations: 3.562 MB / 0.6035 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01989/0.5783, allocations: 7.993 MB / 0.6113 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.933e-05/0.5783, allocations: 60.55 kB / 0.6114 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=246): time 6.533e-06/0.5783, allocations: 0 / 0.6114 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=288): time 0.3045/0.8828, allocations: 33.53 MB / 0.6442 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.8829, allocations: 234.8 kB / 0.6444 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/0.8942, allocations: 5.716 MB / 0.65 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007395/0.895, allocations: 74.77 kB / 0.65 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003106/0.8981, allocations: 4.544 MB / 0.6545 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002008/0.9001, allocations: 1.131 MB / 0.6556 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004424/0.9045, allocations: 1.773 MB / 0.6573 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.9045, allocations: 306.6 kB / 0.6576 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006763/0.9113, allocations: 3.597 MB / 0.6611 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009695/0.921, allocations: 8.652 MB / 0.6696 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/0.9353, allocations: 13.13 MB / 0.6824 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003106/0.9356, allocations: 50.22 kB / 0.6824 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02573/0.9613, allocations: 13.9 MB / 0.696 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003037/0.9616, allocations: 82.97 kB / 0.6961 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003631/0.962, allocations: 177 kB / 0.6963 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/0.9675, allocations: 2.267 MB / 0.6985 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006512/0.974, allocations: 2.024 MB / 0.7004 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.9892, allocations: 13.91 MB / 0.714 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009116/0.9983, allocations: 0.5618 MB / 0.7146 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/0.9999, allocations: 0.5154 MB / 0.7151 GB, free: 113.4 MB / 0.5294 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.005827/1.006, allocations: 2.975 MB / 0.718 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.007, allocations: 0.4928 MB / 0.7185 GB, free: 109.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/1.019, allocations: 7.069 MB / 0.7254 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.045e-05/1.019, allocations: 36 kB / 0.7254 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-05/1.019, allocations: 8 kB / 0.7254 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.545e-05/1.02, allocations: 19.78 kB / 0.7254 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02436/1.044, allocations: 13.39 MB / 0.7385 GB, free: 89.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/1.044, allocations: 8.469 kB / 0.7385 GB, free: 89.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.046, allocations: 499.2 kB / 0.739 GB, free: 88.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005128/1.051, allocations: 2.011 MB / 0.741 GB, free: 86.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003901/1.052, allocations: 63.94 kB / 0.741 GB, free: 86.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/1.067, allocations: 13.29 MB / 0.754 GB, free: 73.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.067, allocations: 4 kB / 0.754 GB, free: 73.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/1.084, allocations: 11.32 MB / 0.7651 GB, free: 61.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.086, allocations: 0.4974 MB / 0.7655 GB, free: 61.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/1.087, allocations: 47.98 kB / 0.7656 GB, free: 61.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/1.091, allocations: 263.6 kB / 0.7658 GB, free: 60.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006642/1.091, allocations: 185.5 kB / 0.766 GB, free: 60.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/1.092, allocations: 80 kB / 0.7661 GB, free: 60.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005107/1.097, allocations: 3.373 MB / 0.7694 GB, free: 57.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/1.097, allocations: 0 / 0.7694 GB, free: 57.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008448/1.105, allocations: 1.745 MB / 0.7711 GB, free: 55.61 MB / 0.5294 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.0008317/1.106, allocations: 206.7 kB / 0.7713 GB, free: 55.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.117, allocations: 8.371 MB / 0.7795 GB, free: 47.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.117, allocations: 8.125 kB / 0.7795 GB, free: 47.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004963/1.122, allocations: 3.227 MB / 0.7826 GB, free: 43.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/1.127, allocations: 0.6133 MB / 0.7832 GB, free: 43.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/1.148, allocations: 14.82 MB / 0.7977 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005042/1.153, allocations: 4.053 MB / 0.8017 GB, free: 24.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005599/1.159, allocations: 2.678 MB / 0.8043 GB, free: 21.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.16, allocations: 344.4 kB / 0.8046 GB, free: 21.15 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/1.16, allocations: 0 / 0.8046 GB, free: 21.15 MB / 0.5294 GB Notification: Performance of Templates: time 0.308/1.468, allocations: 57.27 MB / 0.8605 GB, free: 177.9 MB / 0.5606 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/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.387374069541693]