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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001087, allocations: 93.53 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.8 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002774, allocations: 8.375 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3824/0.5137, allocations: 86.21 MB / 0.556 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05374/0.5675, allocations: 16.91 MB / 0.5725 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02572/0.5933, allocations: 383.1 kB / 0.5728 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.5966, allocations: 0.5984 MB / 0.5734 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008432/0.605, allocations: 2.367 MB / 0.5757 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.6079, allocations: 1.042 MB / 0.5767 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.016/0.6239, allocations: 11.37 MB / 0.5879 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/0.6384, allocations: 8.046 MB / 0.5957 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006102/0.6446, allocations: 1.797 MB / 0.5975 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008227/0.6529, allocations: 3.149 MB / 0.6005 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002398/0.6553, allocations: 216 kB / 0.6007 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/0.6606, allocations: 1.295 MB / 0.602 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005797/0.6665, allocations: 2.766 MB / 0.6047 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008005/0.6745, allocations: 3.013 MB / 0.6077 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01561/0.6902, allocations: 10.05 MB / 0.6175 GB, free: 12.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.6902, allocations: 0 / 0.6175 GB, free: 12.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.6902, allocations: 0 / 0.6175 GB, free: 12.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005796/0.6908, allocations: 4 kB / 0.6175 GB, free: 12.98 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: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.02065/0.7115, allocations: 6.157 MB / 0.6235 GB, free: 6.738 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.7116, allocations: 16.88 kB / 0.6235 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.7285, allocations: 3.104 MB / 0.6265 GB, free: 3.605 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.7427, allocations: 4.72 MB / 0.6311 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/0.7433, allocations: 361.7 kB / 0.6315 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003055/0.7463, allocations: 496 kB / 0.632 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03569/0.782, allocations: 14.28 MB / 0.6459 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004466/0.7825, allocations: 71.22 kB / 0.646 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002078/0.7846, allocations: 227.8 kB / 0.6462 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005053/0.7897, allocations: 2.543 MB / 0.6487 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02838/0.8181, allocations: 11.81 MB / 0.6602 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4462/1.264, allocations: 55.94 MB / 0.7148 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/1.279, allocations: 4.693 MB / 0.7194 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004868/1.284, allocations: 2.946 MB / 0.7223 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/1.284, allocations: 41.31 kB / 0.7223 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/1.284, allocations: 53.83 kB / 0.7224 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 4.649e-06/1.284, allocations: 3.625 kB / 0.7224 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.05776/1.342, allocations: 23.2 MB / 0.745 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.342, allocations: 250.6 kB / 0.7453 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009739/1.352, allocations: 6.703 MB / 0.7518 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005455/1.352, allocations: 54.73 kB / 0.7519 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002728/1.355, allocations: 4.473 MB / 0.7563 GB, free: 128 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009882/1.356, allocations: 0.8244 MB / 0.7571 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008494/1.357, allocations: 0.7085 MB / 0.7578 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/1.357, allocations: 302.2 kB / 0.758 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/1.361, allocations: 2.885 MB / 0.7609 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006041/1.367, allocations: 7.795 MB / 0.7685 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01296/1.38, allocations: 11.44 MB / 0.7796 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/1.38, allocations: 51.98 kB / 0.7797 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02462/1.404, allocations: 11.9 MB / 0.7913 GB, free: 88.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.405, allocations: 76 kB / 0.7914 GB, free: 88.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/1.405, allocations: 172 kB / 0.7915 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/1.41, allocations: 1.769 MB / 0.7933 GB, free: 86.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00792/1.418, allocations: 1.918 MB / 0.7951 GB, free: 84.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/1.43, allocations: 11.53 MB / 0.8064 GB, free: 72.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009407/1.44, allocations: 452.2 kB / 0.8068 GB, free: 72.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.442, allocations: 497 kB / 0.8073 GB, free: 71.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * 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 (994): * Single equations (assignments): 988 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006621/1.448, allocations: 2.956 MB / 0.8102 GB, free: 68.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/1.45, allocations: 0.5399 MB / 0.8107 GB, free: 68.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009541/1.459, allocations: 4.85 MB / 0.8155 GB, free: 63.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.014e-05/1.46, allocations: 25.8 kB / 0.8155 GB, free: 63.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-05/1.46, allocations: 11.94 kB / 0.8155 GB, free: 63.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/1.46, allocations: 11.95 kB / 0.8155 GB, free: 63.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.483, allocations: 11.08 MB / 0.8263 GB, free: 52.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.483, allocations: 4 kB / 0.8263 GB, free: 52.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.485, allocations: 395.3 kB / 0.8267 GB, free: 52.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003908/1.489, allocations: 1.473 MB / 0.8281 GB, free: 50.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/1.489, allocations: 39.92 kB / 0.8282 GB, free: 50.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/1.501, allocations: 10.62 MB / 0.8386 GB, free: 39.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.501, allocations: 0 / 0.8386 GB, free: 39.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.513, allocations: 7.946 MB / 0.8463 GB, free: 31.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.515, allocations: 0.6266 MB / 0.8469 GB, free: 30.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/1.517, allocations: 32 kB / 0.847 GB, free: 30.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.52, allocations: 144.6 kB / 0.8471 GB, free: 30.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004531/1.52, allocations: 121.2 kB / 0.8472 GB, free: 30.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.52, allocations: 54.03 kB / 0.8473 GB, free: 30.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006588/1.527, allocations: 4.277 MB / 0.8514 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.5e-07/1.527, allocations: 0 / 0.8514 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008033/1.535, allocations: 1.448 MB / 0.8529 GB, free: 24.79 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005924/1.535, allocations: 168.2 kB / 0.853 GB, free: 24.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.547, allocations: 7.064 MB / 0.8599 GB, free: 17.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.547, allocations: 4 kB / 0.8599 GB, free: 17.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.55, allocations: 2.264 MB / 0.8621 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006822/1.557, allocations: 0.7175 MB / 0.8628 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/1.58, allocations: 16.57 MB / 0.879 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006719/1.587, allocations: 4.511 MB / 0.8834 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006935/1.594, allocations: 2.495 MB / 0.8859 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/1.595, allocations: 351.4 kB / 0.8862 GB, free: 6.543 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/1.595, allocations: 0 / 0.8862 GB, free: 6.543 MB / 0.545 GB Notification: Performance of Templates: time 0.4092/2.005, allocations: 55.54 MB / 0.9404 GB, free: 199.3 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches