Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.11 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 85.08 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 62.44 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01614/0.1345, allocations: 13.98 MB / 494.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.1457, allocations: 4.769 MB / 499.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003196/0.1489, allocations: 91.75 kB / 499.5 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009011/0.158, allocations: 4.474 MB / 0.4922 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.1648, allocations: 2.225 MB / 0.4944 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.1682, allocations: 1.123 MB / 0.4955 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.1785, allocations: 6.408 MB / 0.5017 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2239/0.4024, allocations: 5.445 MB / 0.507 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005014/0.4074, allocations: 2.198 MB / 0.5092 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006082/0.4136, allocations: 2.97 MB / 0.5121 GB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002094/0.4157, allocations: 494.3 kB / 0.5126 GB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.4198, allocations: 1.498 MB / 0.514 GB, free: 15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004375/0.4242, allocations: 2.74 MB / 0.5167 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006298/0.4305, allocations: 3.112 MB / 0.5197 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.4429, allocations: 9.532 MB / 0.5291 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4429, allocations: 1.219 kB / 0.5291 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4429, allocations: 2.719 kB / 0.5291 GB, free: 9.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003612/0.4433, allocations: 0 / 0.5291 GB, free: 9.984 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2021 * Number of variables: 2021 Notification: Performance of Generate backend data structure: time 0.01891/0.4622, allocations: 6.798 MB / 0.5357 GB, free: 5.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4623, allocations: 11.52 kB / 0.5357 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.4746, allocations: 2.612 MB / 0.5383 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008458/0.4831, allocations: 3.84 MB / 0.542 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.4834, allocations: 345.2 kB / 0.5423 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.4851, allocations: 454.2 kB / 0.5428 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/0.5128, allocations: 13.98 MB / 0.5564 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002362/0.5131, allocations: 71.11 kB / 0.5565 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/0.5142, allocations: 217.7 kB / 0.5567 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004659/0.5188, allocations: 2.537 MB / 0.5592 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0262/0.5451, allocations: 11.99 MB / 0.5709 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07401/0.6191, allocations: 53.48 MB / 0.6231 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0187/0.6379, allocations: 6.495 MB / 0.6295 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/0.6427, allocations: 3.607 MB / 0.633 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.6429, allocations: 33.27 kB / 0.633 GB, free: 6.496 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.643, allocations: 66.5 kB / 0.6331 GB, free: 6.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=218): time 5.661e-06/0.643, allocations: 0 / 0.6331 GB, free: 6.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=260): time 0.09297/0.736, allocations: 31.58 MB / 0.6639 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.7362, allocations: 216.6 kB / 0.6641 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/0.7481, allocations: 5.952 MB / 0.6699 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007419/0.7489, allocations: 61.7 kB / 0.67 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003404/0.7523, allocations: 3.991 MB / 0.6739 GB, free: 12.52 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/0.7539, allocations: 0.9896 MB / 0.6749 GB, free: 11.54 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004294/0.7583, allocations: 1.61 MB / 0.6764 GB, free: 9.926 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7584, allocations: 305.1 kB / 0.6767 GB, free: 9.625 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005718/0.7641, allocations: 3.482 MB / 0.6801 GB, free: 6.145 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01013/0.7743, allocations: 7.883 MB / 0.6878 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/0.7897, allocations: 12.17 MB / 0.6997 GB, free: 14.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/0.7899, allocations: 44 kB / 0.6997 GB, free: 14.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.02754/0.8175, allocations: 13.2 MB / 0.7126 GB, free: 1.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.8177, allocations: 73 kB / 0.7127 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003045/0.818, allocations: 156 kB / 0.7128 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2287/1.047, allocations: 2.257 MB / 0.7151 GB, free: 186.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006841/1.054, allocations: 1.803 MB / 0.7168 GB, free: 186.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/1.073, allocations: 14.42 MB / 0.7309 GB, free: 180 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007634/1.081, allocations: 490.3 kB / 0.7314 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/1.083, allocations: 465 kB / 0.7318 GB, free: 179.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (940): * Single equations (assignments): 935 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005818/1.088, allocations: 2.757 MB / 0.7345 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.09, allocations: 0.508 MB / 0.735 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/1.101, allocations: 7.119 MB / 0.742 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/1.101, allocations: 27.47 kB / 0.742 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/1.101, allocations: 11.27 kB / 0.742 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/1.101, allocations: 15.33 kB / 0.742 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/1.126, allocations: 14.6 MB / 0.7563 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.126, allocations: 0 / 0.7563 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/1.129, allocations: 447.5 kB / 0.7567 GB, free: 170 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/1.134, allocations: 2.045 MB / 0.7587 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004607/1.134, allocations: 40 kB / 0.7587 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.149, allocations: 13.66 MB / 0.7721 GB, free: 155.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.149, allocations: 7.766 kB / 0.7721 GB, free: 155.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.164, allocations: 11.29 MB / 0.7831 GB, free: 144.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.166, allocations: 0.5757 MB / 0.7837 GB, free: 143.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001829/1.167, allocations: 43.75 kB / 0.7837 GB, free: 143.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003532/1.171, allocations: 223.7 kB / 0.7839 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007227/1.172, allocations: 155.2 kB / 0.7841 GB, free: 143.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002358/1.172, allocations: 69.62 kB / 0.7841 GB, free: 143.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00597/1.178, allocations: 3.794 MB / 0.7878 GB, free: 139.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/1.178, allocations: 0 / 0.7878 GB, free: 139.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007823/1.186, allocations: 1.496 MB / 0.7893 GB, free: 138.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (202): * Single equations (assignments): 197 * 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,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007249/1.187, allocations: 179.9 kB / 0.7895 GB, free: 137.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02027/1.207, allocations: 11.22 MB / 0.8004 GB, free: 126.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.207, allocations: 0 / 0.8004 GB, free: 126.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008525/1.215, allocations: 3.486 MB / 0.8038 GB, free: 123.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007253/1.223, allocations: 0.6757 MB / 0.8045 GB, free: 122.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03456/1.257, allocations: 14.5 MB / 0.8186 GB, free: 108.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008478/1.266, allocations: 4.215 MB / 0.8228 GB, free: 103.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/1.268, allocations: 403.3 kB / 0.8231 GB, free: 103.4 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/1.268, allocations: 0 / 0.8231 GB, free: 103.4 MB / 0.545 GB Notification: Performance of Templates: time 0.3659/1.634, allocations: 133.2 MB / 0.9532 GB, free: 166 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches