Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.001386/0.001386, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001019/0.001019, allocations: 164.4 kB / 24.91 MB, free: 8.715 MB / 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.8981/0.8981, allocations: 177 MB / 205.2 MB, free: 5.062 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.2653/0.2653, allocations: 34.86 MB / 296.6 MB, free: 476 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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.208e-05, allocations: 5.406 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01096/0.01098, allocations: 14.53 MB / 340.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009604/0.02058, allocations: 5.173 MB / 345.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00282/0.0234, allocations: 123.4 kB / 345.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005884/0.02928, allocations: 5.369 MB / 351.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00606/0.03535, allocations: 2.702 MB / 353.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.03771, allocations: 1.4 MB / 355.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009186/0.04689, allocations: 9.007 MB / 364.2 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005863/0.05275, allocations: 5.773 MB / 370 MB, free: 10.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007198/0.05995, allocations: 5.318 MB / 375.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.06458, allocations: 3.714 MB / 379 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.06573, allocations: 0.5469 MB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.06793, allocations: 1.521 MB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.07046, allocations: 3.378 MB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.07283, allocations: 2.107 MB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007847/0.08068, allocations: 6.999 MB / 393.6 MB, free: 3.203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.08068, allocations: 0 / 393.6 MB, free: 3.203 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08069, allocations: 0 / 393.6 MB, free: 3.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002618/0.08095, allocations: 4 kB / 393.6 MB, free: 3.199 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.01067/0.09162, allocations: 7.066 MB / 400.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.09166, allocations: 12.03 kB / 400.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/0.09605, allocations: 1.612 MB / 402.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005367/0.1014, allocations: 3.271 MB / 405.5 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.1016, allocations: 357.7 kB / 405.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008852/0.1025, allocations: 0.4883 MB / 406.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00983/0.1123, allocations: 7.19 MB / 413.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.1125, allocations: 75.38 kB / 413.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004815/0.113, allocations: 223.8 kB / 413.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/0.1148, allocations: 2.227 MB / 416.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007683/0.1225, allocations: 3.466 MB / 419.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1987/0.3212, allocations: 44.33 MB / 463.9 MB, free: 75.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00478/0.326, allocations: 2.032 MB / 465.9 MB, free: 74.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.3267, allocations: 428.8 kB / 466.3 MB, free: 74.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007183/0.3339, allocations: 4.532 MB / 470.9 MB, free: 73.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.3339, allocations: 54.91 kB / 470.9 MB, free: 73.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=147): time 4.448e-06/0.334, allocations: 2.719 kB / 470.9 MB, free: 73.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01198/0.3459, allocations: 5.176 MB / 476.1 MB, free: 72.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.346, allocations: 243.5 kB / 476.3 MB, free: 72.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.3502, allocations: 4.838 MB / 481.2 MB, free: 71.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.3503, allocations: 47.7 kB / 481.2 MB, free: 71.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.3517, allocations: 4.437 MB / 485.7 MB, free: 67.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.352, allocations: 0.6631 MB / 486.3 MB, free: 67.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009823/0.353, allocations: 1.585 MB / 487.9 MB, free: 65.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.099e-05/0.3531, allocations: 305.1 kB / 488.2 MB, free: 65.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.3543, allocations: 0.9293 MB / 489.1 MB, free: 64.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.3566, allocations: 6.145 MB / 495.3 MB, free: 55.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/0.3607, allocations: 7.77 MB / 0.4913 GB, free: 46.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.083e-05/0.3608, allocations: 56 kB / 0.4913 GB, free: 46.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=1060) (initialization): time 0.005755/0.3666, allocations: 5.587 MB / 0.4968 GB, free: 40.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.3666, allocations: 91.98 kB / 0.4969 GB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/0.3667, allocations: 188 kB / 0.497 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.3672, allocations: 359.7 kB / 0.4974 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.3698, allocations: 1.871 MB / 0.4992 GB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.3712, allocations: 3.975 MB / 0.5031 GB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/0.3751, allocations: 375.6 kB / 0.5035 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005079/0.3756, allocations: 444.1 kB / 0.5039 GB, free: 32.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1033): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.3774, allocations: 0.8158 MB / 0.5047 GB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000702/0.3781, allocations: 287.7 kB / 0.505 GB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.3791, allocations: 0.8673 MB / 0.5058 GB, free: 30.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.3791, allocations: 20 kB / 0.5058 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3791, allocations: 0 / 0.5058 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3792, allocations: 7.984 kB / 0.5058 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00612/0.3853, allocations: 4.789 MB / 0.5105 GB, free: 25.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.3853, allocations: 4 kB / 0.5105 GB, free: 25.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.3859, allocations: 239.6 kB / 0.5107 GB, free: 25.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005233/0.3864, allocations: 391.1 kB / 0.5111 GB, free: 25.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.289e-05/0.3864, allocations: 31.98 kB / 0.5111 GB, free: 25.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.3876, allocations: 3.633 MB / 0.5147 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3876, allocations: 8 kB / 0.5147 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3892, allocations: 1.894 MB / 0.5165 GB, free: 19.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/0.3899, allocations: 472.2 kB / 0.517 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.3903, allocations: 31.98 kB / 0.517 GB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007988/0.391, allocations: 36 kB / 0.5171 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.3912, allocations: 104.1 kB / 0.5172 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.3912, allocations: 42.78 kB / 0.5172 GB, free: 18.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001349/0.3926, allocations: 1.832 MB / 0.519 GB, free: 16.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3926, allocations: 4 kB / 0.519 GB, free: 16.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004179/0.3968, allocations: 1.394 MB / 0.5204 GB, free: 15.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (126): * Single equations (assignments): 120 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003344/0.3971, allocations: 160.1 kB / 0.5205 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003602/0.4007, allocations: 3.313 MB / 0.5237 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000207/0.4009, allocations: 120.2 kB / 0.5239 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.4015, allocations: 0.6889 MB / 0.5245 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.4048, allocations: 0.9505 MB / 0.5255 GB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.4178, allocations: 10.56 MB / 0.5358 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/0.4199, allocations: 1.78 MB / 0.5375 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002106/0.422, allocations: 0.68 MB / 0.5382 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.4232, allocations: 0.7432 MB / 0.5389 GB, free: 12.15 MB / 426.7 MB Notification: Performance of SimCode: time 2.314e-06/0.4232, allocations: 4 kB / 0.5389 GB, free: 12.14 MB / 426.7 MB Notification: Performance of Templates: time 0.06212/0.4853, allocations: 38.9 MB / 0.5769 GB, free: 5.707 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.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.430642603896558]