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.001753/0.001753, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002434/0.002434, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.367/2.367, allocations: 227.3 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4485/0.4485, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 75.8 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2138, allocations: 62.44 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.5438/0.7577, allocations: 72.64 MB / 0.5396 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05616/0.8139, allocations: 14.41 MB / 0.5537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02897/0.843, allocations: 321.1 kB / 0.554 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0128/0.8559, allocations: 4.472 MB / 0.5584 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.8664, allocations: 2.056 MB / 0.5604 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00514/0.8716, allocations: 1.066 MB / 0.5614 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01885/0.8905, allocations: 9.167 MB / 0.5704 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.9031, allocations: 5.458 MB / 0.5757 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006983/0.9101, allocations: 1.989 MB / 0.5776 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008744/0.9189, allocations: 3.135 MB / 0.5807 GB, free: 140 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002883/0.9219, allocations: 364 kB / 0.5811 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006658/0.9286, allocations: 1.432 MB / 0.5824 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00585/0.9345, allocations: 2.595 MB / 0.585 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008299/0.9429, allocations: 2.94 MB / 0.5879 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.9573, allocations: 7.664 MB / 0.5953 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.9574, allocations: 0 / 0.5953 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.9574, allocations: 0 / 0.5953 GB, free: 1.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000446/0.9579, allocations: 0 / 0.5953 GB, free: 1.109 MB / 430.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.02943/0.9873, allocations: 6.672 MB / 0.6019 GB, free: 10.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.9874, allocations: 13.89 kB / 0.6019 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/1.005, allocations: 2.583 MB / 0.6044 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/1.019, allocations: 3.811 MB / 0.6081 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/1.02, allocations: 340.9 kB / 0.6084 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003016/1.023, allocations: 444.1 kB / 0.6089 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05209/1.075, allocations: 14 MB / 0.6225 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007796/1.076, allocations: 55.53 kB / 0.6226 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003399/1.08, allocations: 207.8 kB / 0.6228 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008428/1.088, allocations: 2.543 MB / 0.6253 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04643/1.135, allocations: 12.13 MB / 0.6371 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1163/1.251, allocations: 51.93 MB / 0.6878 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0282/1.279, allocations: 6.245 MB / 0.6939 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008724/1.288, allocations: 3.855 MB / 0.6977 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03743/1.325, allocations: 13.23 MB / 0.7106 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.305e-05/1.326, allocations: 60.5 kB / 0.7107 GB, free: 8.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=228): time 7.183e-06/1.326, allocations: 0 / 0.7107 GB, free: 8.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=270): time 0.4767/1.802, allocations: 29.42 MB / 0.7394 GB, free: 192.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/1.802, allocations: 210.7 kB / 0.7396 GB, free: 192.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/1.815, allocations: 4.949 MB / 0.7444 GB, free: 190.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000984/1.816, allocations: 65.36 kB / 0.7445 GB, free: 190.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003644/1.819, allocations: 3.796 MB / 0.7482 GB, free: 188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002478/1.822, allocations: 1.018 MB / 0.7492 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006379/1.828, allocations: 1.514 MB / 0.7507 GB, free: 186.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.11e-05/1.828, allocations: 301.1 kB / 0.751 GB, free: 186.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006565/1.835, allocations: 3.293 MB / 0.7542 GB, free: 185.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00896/1.844, allocations: 7.346 MB / 0.7613 GB, free: 177.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/1.858, allocations: 11.4 MB / 0.7725 GB, free: 164.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002463/1.859, allocations: 40 kB / 0.7725 GB, free: 164.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02659/1.885, allocations: 12.49 MB / 0.7847 GB, free: 152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/1.886, allocations: 70.66 kB / 0.7848 GB, free: 151.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003145/1.886, allocations: 140 kB / 0.7849 GB, free: 151.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007031/1.893, allocations: 2.253 MB / 0.7871 GB, free: 149.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006595/1.9, allocations: 1.688 MB / 0.7888 GB, free: 147.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/1.918, allocations: 13.45 MB / 0.8019 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00888/1.927, allocations: 443.4 kB / 0.8023 GB, free: 133.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/1.929, allocations: 431.4 kB / 0.8027 GB, free: 133.3 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.008115/1.937, allocations: 2.689 MB / 0.8054 GB, free: 130.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002182/1.939, allocations: 450.6 kB / 0.8058 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/1.955, allocations: 6.996 MB / 0.8126 GB, free: 123.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.324e-05/1.955, allocations: 31.94 kB / 0.8126 GB, free: 123.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.794e-05/1.955, allocations: 8 kB / 0.8127 GB, free: 123.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.647e-05/1.955, allocations: 15.95 kB / 0.8127 GB, free: 123.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03485/1.99, allocations: 14.34 MB / 0.8267 GB, free: 108.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/1.99, allocations: 0 / 0.8267 GB, free: 108.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/1.993, allocations: 451.3 kB / 0.8271 GB, free: 108.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006208/1.999, allocations: 2.033 MB / 0.8291 GB, free: 106.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009279/2, allocations: 44 kB / 0.8291 GB, free: 106.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/2.018, allocations: 12.71 MB / 0.8416 GB, free: 93.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/2.018, allocations: 3.984 kB / 0.8416 GB, free: 93.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/2.037, allocations: 10.98 MB / 0.8523 GB, free: 82.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/2.039, allocations: 0.4952 MB / 0.8528 GB, free: 81.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002633/2.041, allocations: 40 kB / 0.8528 GB, free: 81.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006115/2.047, allocations: 207.7 kB / 0.853 GB, free: 81.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001684/2.049, allocations: 158.6 kB / 0.8531 GB, free: 81.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009461/2.05, allocations: 72 kB / 0.8532 GB, free: 81.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009672/2.06, allocations: 3.11 MB / 0.8563 GB, free: 78.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.22e-07/2.06, allocations: 4 kB / 0.8563 GB, free: 78.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01427/2.074, allocations: 1.429 MB / 0.8577 GB, free: 76.67 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.001661/2.076, allocations: 187.3 kB / 0.8578 GB, free: 76.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02084/2.097, allocations: 8.021 MB / 0.8657 GB, free: 68.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/2.097, allocations: 4.188 kB / 0.8657 GB, free: 68.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009691/2.107, allocations: 3.421 MB / 0.869 GB, free: 65.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009307/2.116, allocations: 0.5986 MB / 0.8696 GB, free: 64.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04412/2.16, allocations: 16.7 MB / 0.8859 GB, free: 47.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007662/2.168, allocations: 4.167 MB / 0.89 GB, free: 43.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002269/2.17, allocations: 367.4 kB / 0.8903 GB, free: 43.14 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/2.17, allocations: 4 kB / 0.8903 GB, free: 43.14 MB / 0.545 GB Notification: Performance of Templates: time 0.6101/2.78, allocations: 127.5 MB / 1.015 GB, free: 107.3 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