Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 109.6 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.001426/0.001426, allocations: 212 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.406/1.406, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 78.38 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.107, allocations: 62.44 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01352/0.1205, allocations: 13.65 MB / 494.3 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009615/0.1302, allocations: 4.719 MB / 499.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.1327, allocations: 91.75 kB / 499.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008243/0.141, allocations: 4.455 MB / 0.4918 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005716/0.1467, allocations: 2.202 MB / 0.494 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.1496, allocations: 1.146 MB / 0.4951 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008372/0.158, allocations: 6.338 MB / 0.5013 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2174/0.3754, allocations: 5.559 MB / 0.5067 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004709/0.3802, allocations: 2.219 MB / 0.5089 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00553/0.3857, allocations: 2.934 MB / 0.5117 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002535/0.3883, allocations: 496.3 kB / 0.5122 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004534/0.3928, allocations: 1.498 MB / 0.5137 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005427/0.3983, allocations: 2.681 MB / 0.5163 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008272/0.4066, allocations: 3.066 MB / 0.5193 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.4219, allocations: 9.419 MB / 0.5285 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4219, allocations: 0 / 0.5285 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4219, allocations: 0.75 kB / 0.5285 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003795/0.4223, allocations: 0 / 0.5285 GB, free: 10.12 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: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.01836/0.4407, allocations: 6.687 MB / 0.535 GB, free: 5.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4408, allocations: 10.55 kB / 0.535 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.4526, allocations: 2.582 MB / 0.5375 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008812/0.4615, allocations: 3.803 MB / 0.5413 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.4617, allocations: 336 kB / 0.5416 GB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.4632, allocations: 460.8 kB / 0.542 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/0.4899, allocations: 13.99 MB / 0.5557 GB, free: 6.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001787/0.4901, allocations: 59.16 kB / 0.5557 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006557/0.4908, allocations: 210.2 kB / 0.5559 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004674/0.4955, allocations: 2.536 MB / 0.5584 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02681/0.5223, allocations: 12.13 MB / 0.5703 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06663/0.589, allocations: 51.94 MB / 0.621 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/0.605, allocations: 6.241 MB / 0.6271 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004718/0.6097, allocations: 3.853 MB / 0.6308 GB, free: 8.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01953/0.6293, allocations: 13.24 MB / 0.6438 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.6294, allocations: 60.55 kB / 0.6438 GB, free: 11.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=228): time 5.12e-06/0.6294, allocations: 0 / 0.6438 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=270): time 0.084/0.7134, allocations: 29.43 MB / 0.6726 GB, free: 13.75 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.7135, allocations: 212.5 kB / 0.6728 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008632/0.7222, allocations: 4.954 MB / 0.6776 GB, free: 8.547 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007266/0.7229, allocations: 68.36 kB / 0.6777 GB, free: 8.477 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003171/0.7261, allocations: 3.797 MB / 0.6814 GB, free: 4.676 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001767/0.7279, allocations: 1.013 MB / 0.6824 GB, free: 3.676 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003652/0.7316, allocations: 1.511 MB / 0.6838 GB, free: 2.156 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.7317, allocations: 305.1 kB / 0.6841 GB, free: 1.855 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004796/0.7365, allocations: 3.293 MB / 0.6873 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007537/0.744, allocations: 7.337 MB / 0.6945 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/0.7581, allocations: 11.4 MB / 0.7056 GB, free: 8.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/0.7583, allocations: 40 kB / 0.7057 GB, free: 8.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.2419/1, allocations: 12.49 MB / 0.7179 GB, free: 184.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1, allocations: 72.91 kB / 0.718 GB, free: 184.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/1.001, allocations: 140.9 kB / 0.7181 GB, free: 184.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/1.006, allocations: 2.245 MB / 0.7203 GB, free: 184.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006288/1.013, allocations: 1.698 MB / 0.7219 GB, free: 184.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/1.03, allocations: 14.4 MB / 0.736 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/1.037, allocations: 439.3 kB / 0.7364 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/1.038, allocations: 430 kB / 0.7368 GB, free: 178.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (888): * Single equations (assignments): 883 * 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.00496/1.043, allocations: 2.689 MB / 0.7394 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008897/1.044, allocations: 448.8 kB / 0.7399 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.055, allocations: 7.008 MB / 0.7467 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.607e-05/1.055, allocations: 30.22 kB / 0.7467 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/1.055, allocations: 10.25 kB / 0.7468 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.058e-05/1.055, allocations: 15.09 kB / 0.7468 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/1.081, allocations: 14.34 MB / 0.7608 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/1.081, allocations: 4 kB / 0.7608 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.084, allocations: 447.3 kB / 0.7612 GB, free: 167.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004918/1.089, allocations: 2.042 MB / 0.7632 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005733/1.089, allocations: 41.41 kB / 0.7632 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/1.104, allocations: 13.65 MB / 0.7766 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.104, allocations: 4 kB / 0.7766 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.119, allocations: 10.97 MB / 0.7873 GB, free: 140.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.121, allocations: 499.8 kB / 0.7878 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.122, allocations: 48.64 kB / 0.7878 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/1.124, allocations: 213.7 kB / 0.788 GB, free: 139.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006206/1.125, allocations: 149.8 kB / 0.7882 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/1.125, allocations: 64 kB / 0.7882 GB, free: 139.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004657/1.13, allocations: 3.122 MB / 0.7913 GB, free: 136.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 4e-07/1.13, allocations: 0 / 0.7913 GB, free: 136.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007497/1.137, allocations: 1.432 MB / 0.7927 GB, free: 135 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 (212): * Single equations (assignments): 207 * 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.000749/1.138, allocations: 193.1 kB / 0.7929 GB, free: 134.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01642/1.155, allocations: 11.25 MB / 0.8038 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.155, allocations: 0 / 0.8038 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005286/1.16, allocations: 3.419 MB / 0.8072 GB, free: 120.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/1.164, allocations: 0.6318 MB / 0.8078 GB, free: 119.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.186, allocations: 14.05 MB / 0.8215 GB, free: 105.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003969/1.19, allocations: 4.17 MB / 0.8256 GB, free: 101.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.192, allocations: 371.3 kB / 0.8259 GB, free: 100.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.272e-06/1.192, allocations: 0 / 0.8259 GB, free: 100.9 MB / 0.545 GB Notification: Performance of Templates: time 0.3814/1.573, allocations: 127.6 MB / 0.9505 GB, free: 169.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches