Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 105.8 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 215.9 kB / 19.25 MB, free: 3.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2115/0.2115, allocations: 46.11 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 75.03 kB / 418.2 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.FrameTorques2): time 0.01998/0.1383, allocations: 17.83 MB / 498.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.1519, allocations: 5.626 MB / 0.4923 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004261/0.1562, allocations: 135.6 kB / 0.4925 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0118/0.1681, allocations: 6.269 MB / 0.4986 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007521/0.1757, allocations: 2.886 MB / 0.5014 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.1796, allocations: 1.587 MB / 0.503 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2372/0.4168, allocations: 9.869 MB / 0.5126 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.429, allocations: 8.002 MB / 0.5204 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006998/0.4361, allocations: 3.113 MB / 0.5234 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007136/0.4432, allocations: 4.223 MB / 0.5276 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002727/0.446, allocations: 0.6821 MB / 0.5282 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/0.4507, allocations: 1.687 MB / 0.5299 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005458/0.4562, allocations: 3.816 MB / 0.5336 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008037/0.4643, allocations: 4.21 MB / 0.5377 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.4782, allocations: 12.64 MB / 0.5501 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.4782, allocations: 0 / 0.5501 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4782, allocations: 0 / 0.5501 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004673/0.4787, allocations: 0 / 0.5501 GB, free: 11.28 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02418/0.5029, allocations: 9.041 MB / 0.5589 GB, free: 2.305 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.503, allocations: 12.03 kB / 0.5589 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/0.5213, allocations: 3.493 MB / 0.5623 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.5361, allocations: 5.904 MB / 0.5681 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005384/0.5367, allocations: 442.2 kB / 0.5685 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003219/0.5399, allocations: 0.5969 MB / 0.5691 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0387/0.5786, allocations: 17.11 MB / 0.5858 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004489/0.5791, allocations: 88.23 kB / 0.5859 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002227/0.5814, allocations: 274.6 kB / 0.5861 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005458/0.5868, allocations: 2.886 MB / 0.589 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03267/0.6195, allocations: 14.33 MB / 0.603 GB, free: 5.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09364/0.7132, allocations: 64.73 MB / 0.6662 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01935/0.7327, allocations: 6.62 MB / 0.6726 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/0.7382, allocations: 3.892 MB / 0.6764 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008159/0.739, allocations: 0.6552 MB / 0.6771 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.157e-05/0.7391, allocations: 68.03 kB / 0.6771 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=231): time 5.651e-06/0.7391, allocations: 0 / 0.6771 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=255): time 0.09258/0.8317, allocations: 31.29 MB / 0.7077 GB, free: 8.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.8319, allocations: 295 kB / 0.708 GB, free: 8.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0134/0.8453, allocations: 7.315 MB / 0.7151 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006627/0.846, allocations: 61.7 kB / 0.7152 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.4111/1.257, allocations: 5.093 MB / 0.7202 GB, free: 185.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.259, allocations: 1.003 MB / 0.7211 GB, free: 185 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003478/1.262, allocations: 1.839 MB / 0.7229 GB, free: 184.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/1.262, allocations: 305.8 kB / 0.7232 GB, free: 184.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006002/1.268, allocations: 3.423 MB / 0.7266 GB, free: 183 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009652/1.278, allocations: 8.617 MB / 0.735 GB, free: 175 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/1.293, allocations: 12.85 MB / 0.7475 GB, free: 164.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003139/1.293, allocations: 52.19 kB / 0.7476 GB, free: 164.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.02584/1.319, allocations: 13.84 MB / 0.7611 GB, free: 159.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003388/1.32, allocations: 86.16 kB / 0.7612 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000418/1.32, allocations: 184.1 kB / 0.7614 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006088/1.326, allocations: 2.318 MB / 0.7636 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00658/1.333, allocations: 2.026 MB / 0.7656 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/1.35, allocations: 16.71 MB / 0.7819 GB, free: 144.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007723/1.357, allocations: 0.4994 MB / 0.7824 GB, free: 144.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.359, allocations: 0.5195 MB / 0.7829 GB, free: 143.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1086): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (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.007343/1.367, allocations: 3.413 MB / 0.7862 GB, free: 140.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/1.368, allocations: 0.6016 MB / 0.7868 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/1.38, allocations: 6.451 MB / 0.7931 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.717e-05/1.38, allocations: 35.45 kB / 0.7932 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-05/1.38, allocations: 12 kB / 0.7932 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.095e-05/1.38, allocations: 15.95 kB / 0.7932 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02753/1.407, allocations: 14.34 MB / 0.8072 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/1.407, allocations: 1.078 kB / 0.8072 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/1.409, allocations: 407.4 kB / 0.8076 GB, free: 118.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/1.415, allocations: 1.999 MB / 0.8095 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005117/1.415, allocations: 49.88 kB / 0.8096 GB, free: 116.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/1.43, allocations: 15.65 MB / 0.8249 GB, free: 100.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.43, allocations: 32 / 0.8249 GB, free: 100.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.445, allocations: 10.13 MB / 0.8348 GB, free: 89.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/1.447, allocations: 0.6766 MB / 0.8354 GB, free: 89.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001776/1.449, allocations: 40 kB / 0.8355 GB, free: 89.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003482/1.452, allocations: 181.5 kB / 0.8356 GB, free: 88.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007122/1.453, allocations: 149.7 kB / 0.8358 GB, free: 88.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/1.454, allocations: 67.98 kB / 0.8358 GB, free: 88.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008407/1.462, allocations: 4.663 MB / 0.8404 GB, free: 84.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.11e-07/1.462, allocations: 0 / 0.8404 GB, free: 84.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01153/1.473, allocations: 1.735 MB / 0.8421 GB, free: 82.36 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (195): * Single equations (assignments): 188 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (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.001107/1.475, allocations: 184.2 kB / 0.8423 GB, free: 82.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01508/1.49, allocations: 9.721 MB / 0.8518 GB, free: 72.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.49, allocations: 0 / 0.8518 GB, free: 72.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004063/1.494, allocations: 2.932 MB / 0.8546 GB, free: 69.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007879/1.502, allocations: 0.9267 MB / 0.8555 GB, free: 68.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03196/1.534, allocations: 16.96 MB / 0.8721 GB, free: 51.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008547/1.542, allocations: 5.188 MB / 0.8772 GB, free: 46.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001954/1.544, allocations: 455.4 kB / 0.8776 GB, free: 45.93 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/1.544, allocations: 0 / 0.8776 GB, free: 45.93 MB / 0.545 GB Notification: Performance of Templates: time 0.5121/2.057, allocations: 224 MB / 1.096 GB, free: 11.53 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches