Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, 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.001589/0.001589, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.12 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 79.78 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1192, allocations: 62.46 MB / 480.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01531/0.1345, allocations: 12.66 MB / 493.4 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.1455, allocations: 4.504 MB / 497.9 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.1477, allocations: 83.75 kB / 498 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007174/0.1549, allocations: 3.707 MB / 0.49 GB, free: 172 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006249/0.1612, allocations: 2.187 MB / 0.4921 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.1642, allocations: 0.9942 MB / 0.4931 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009519/0.1738, allocations: 6.039 MB / 0.499 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006039/0.1799, allocations: 4.565 MB / 0.5034 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.1831, allocations: 1.947 MB / 0.5053 GB, free: 348 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2295/0.4126, allocations: 2.606 MB / 0.5079 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.4147, allocations: 409.2 kB / 0.5083 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004818/0.4195, allocations: 1.433 MB / 0.5097 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004871/0.4244, allocations: 2.423 MB / 0.512 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006738/0.4312, allocations: 2.706 MB / 0.5147 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.4445, allocations: 8.369 MB / 0.5228 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.4446, allocations: 3.031 kB / 0.5228 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4446, allocations: 0 / 0.5228 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004048/0.445, allocations: 0 / 0.5228 GB, free: 15.02 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02041/0.4654, allocations: 6.016 MB / 0.5287 GB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4655, allocations: 7.438 kB / 0.5287 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.4782, allocations: 2.541 MB / 0.5312 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009224/0.4874, allocations: 3.67 MB / 0.5348 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.4877, allocations: 282.5 kB / 0.5351 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.4895, allocations: 379.8 kB / 0.5354 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/0.51, allocations: 11.62 MB / 0.5468 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.5102, allocations: 56.75 kB / 0.5468 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007044/0.5109, allocations: 178.9 kB / 0.547 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00369/0.5146, allocations: 2.139 MB / 0.5491 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/0.5367, allocations: 9.626 MB / 0.5585 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06826/0.605, allocations: 45.96 MB / 0.6034 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.6163, allocations: 3.918 MB / 0.6072 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/0.6198, allocations: 2.143 MB / 0.6093 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/0.6322, allocations: 5.863 MB / 0.615 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.684e-05/0.6324, allocations: 69.03 kB / 0.6151 GB, free: 10.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 5.02e-06/0.6324, allocations: 0 / 0.6151 GB, free: 10.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=162): time 0.05136/0.6837, allocations: 17.35 MB / 0.632 GB, free: 8.855 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.6839, allocations: 222.2 kB / 0.6322 GB, free: 8.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/0.6947, allocations: 5.615 MB / 0.6377 GB, free: 2.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000587/0.6953, allocations: 49.36 kB / 0.6378 GB, free: 2.941 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003786/0.6991, allocations: 3.718 MB / 0.6414 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/0.7004, allocations: 0.6526 MB / 0.642 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002774/0.7031, allocations: 1.415 MB / 0.6434 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7033, allocations: 303.9 kB / 0.6437 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003999/0.7073, allocations: 2.289 MB / 0.6459 GB, free: 10.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008752/0.7161, allocations: 6.548 MB / 0.6523 GB, free: 1.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/0.7307, allocations: 9.517 MB / 0.6616 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001707/0.7309, allocations: 48 kB / 0.6617 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.0227/0.7536, allocations: 9.578 MB / 0.671 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.7538, allocations: 71.94 kB / 0.6711 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000294/0.7541, allocations: 152 kB / 0.6712 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/0.7581, allocations: 1.228 MB / 0.6724 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005802/0.7639, allocations: 1.56 MB / 0.674 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.7761, allocations: 8.485 MB / 0.6822 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006143/0.7823, allocations: 359.5 kB / 0.6826 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/0.7839, allocations: 423.1 kB / 0.683 GB, free: 0.8477 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (836): * Single equations (assignments): 829 * Array equations: 5 * 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 {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006264/0.7902, allocations: 2.464 MB / 0.6854 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/0.7914, allocations: 457.9 kB / 0.6858 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007463/0.7989, allocations: 3.392 MB / 0.6891 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.075e-05/0.799, allocations: 19.94 kB / 0.6892 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.799, allocations: 8 kB / 0.6892 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-05/0.799, allocations: 11.97 kB / 0.6892 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.8175, allocations: 8.2 MB / 0.6972 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.8175, allocations: 8 kB / 0.6972 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.8188, allocations: 251.6 kB / 0.6974 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/0.8219, allocations: 1.008 MB / 0.6984 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/0.8221, allocations: 28 kB / 0.6985 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.8326, allocations: 7.806 MB / 0.7061 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.8327, allocations: 7.75 kB / 0.7061 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.8429, allocations: 5.856 MB / 0.7118 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/0.8448, allocations: 0.5186 MB / 0.7123 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008742/0.8457, allocations: 42.5 kB / 0.7124 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.8475, allocations: 91.88 kB / 0.7124 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.8478, allocations: 96.75 kB / 0.7125 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.848, allocations: 44 kB / 0.7126 GB, free: 2.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2376/1.086, allocations: 3.588 MB / 0.7161 GB, free: 188.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.493e-06/1.086, allocations: 0 / 0.7161 GB, free: 188.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008009/1.094, allocations: 1.147 MB / 0.7172 GB, free: 188.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (120): * Single equations (assignments): 115 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006111/1.094, allocations: 159.6 kB / 0.7173 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.106, allocations: 5.933 MB / 0.7231 GB, free: 188 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/1.106, allocations: 5.688 kB / 0.7231 GB, free: 188 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/1.108, allocations: 1.618 MB / 0.7247 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004803/1.113, allocations: 0.5934 MB / 0.7253 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/1.137, allocations: 11.36 MB / 0.7364 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007421/1.144, allocations: 3.749 MB / 0.7401 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.146, allocations: 334.1 kB / 0.7404 GB, free: 180.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.146, allocations: 4 kB / 0.7404 GB, free: 180.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1252/1.271, allocations: 111.6 MB / 0.8494 GB, free: 77.03 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches