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.0009616/0.0009617, allocations: 98.14 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 197.7 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 8 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1591, allocations: 63.57 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.3962/0.5554, allocations: 98.1 MB / 0.5669 GB, free: 316 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05372/0.6091, allocations: 19.53 MB / 0.586 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02831/0.6375, allocations: 474.9 kB / 0.5864 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02138/0.6589, allocations: 5.237 MB / 0.5915 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05062/0.7096, allocations: 14.93 MB / 0.6061 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009493/0.7191, allocations: 1.201 MB / 0.6073 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.5329/1.252, allocations: 121.3 MB / 0.7257 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01509/1.267, allocations: 9.718 MB / 0.7352 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005617/1.273, allocations: 2.384 MB / 0.7375 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008741/1.282, allocations: 3.771 MB / 0.7412 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002225/1.284, allocations: 264 kB / 0.7415 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/1.288, allocations: 1.142 MB / 0.7426 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004237/1.292, allocations: 3.279 MB / 0.7458 GB, free: 99.19 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002599/1.295, allocations: 1.475 MB / 0.7472 GB, free: 98.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008971/1.304, allocations: 10.08 MB / 0.7571 GB, free: 89.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.304, allocations: 0 / 0.7571 GB, free: 89.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.005e-06/1.304, allocations: 0 / 0.7571 GB, free: 89.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003602/1.304, allocations: 1.75 kB / 0.7571 GB, free: 89.98 MB / 0.5294 GB 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.01534/1.32, allocations: 7.512 MB / 0.7644 GB, free: 83.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.32, allocations: 12.03 kB / 0.7644 GB, free: 83.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/1.335, allocations: 3.561 MB / 0.7679 GB, free: 79.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/1.349, allocations: 5.786 MB / 0.7736 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000396/1.349, allocations: 444.7 kB / 0.774 GB, free: 75.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002875/1.352, allocations: 0.5999 MB / 0.7746 GB, free: 74.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03191/1.384, allocations: 17.1 MB / 0.7913 GB, free: 61.37 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002397/1.384, allocations: 92.91 kB / 0.7914 GB, free: 61.31 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007228/1.385, allocations: 273 kB / 0.7916 GB, free: 61.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003869/1.389, allocations: 2.891 MB / 0.7944 GB, free: 58.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02595/1.415, allocations: 14.31 MB / 0.8084 GB, free: 48.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.083/1.498, allocations: 64.74 MB / 0.8716 GB, free: 5.293 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.516, allocations: 6.646 MB / 0.8781 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005739/1.522, allocations: 3.885 MB / 0.8819 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000886/1.522, allocations: 0.6402 MB / 0.8825 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/1.523, allocations: 58.66 kB / 0.8826 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=231): time 4.869e-06/1.523, allocations: 0 / 0.8826 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=255): time 0.09204/1.615, allocations: 31.25 MB / 0.9131 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002195/1.615, allocations: 293.5 kB / 0.9134 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01875/1.634, allocations: 7.262 MB / 0.9205 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000915/1.635, allocations: 67.34 kB / 0.9206 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005421/1.64, allocations: 5.082 MB / 0.9255 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/1.642, allocations: 1.005 MB / 0.9265 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/1.644, allocations: 177.2 kB / 0.9267 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.001023/1.645, allocations: 0.69 MB / 0.9273 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00662/1.651, allocations: 3.391 MB / 0.9307 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5252/2.177, allocations: 8.577 MB / 0.939 GB, free: 238.8 MB / 0.6076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/2.187, allocations: 5.237 MB / 0.9441 GB, free: 238.6 MB / 0.6076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002869/2.187, allocations: 52.09 kB / 0.9442 GB, free: 238.6 MB / 0.6076 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.03014/2.218, allocations: 13.77 MB / 0.9576 GB, free: 235.2 MB / 0.6076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001747/2.218, allocations: 83.66 kB / 0.9577 GB, free: 235.2 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000252/2.218, allocations: 187.3 kB / 0.9579 GB, free: 235.2 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005386/2.223, allocations: 2.338 MB / 0.9602 GB, free: 234.8 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/2.23, allocations: 2.033 MB / 0.9622 GB, free: 234.6 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/2.245, allocations: 15.56 MB / 0.9774 GB, free: 225.6 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007256/2.252, allocations: 0.4972 MB / 0.9778 GB, free: 225.4 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00192/2.254, allocations: 0.5177 MB / 0.9784 GB, free: 225.4 MB / 0.6076 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 13,(2,100.0%) 13,(1,100.0%) 14,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008113/2.262, allocations: 3.417 MB / 0.9817 GB, free: 223.9 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/2.264, allocations: 0.6065 MB / 0.9823 GB, free: 223.9 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/2.275, allocations: 6.437 MB / 0.9886 GB, free: 221.1 MB / 0.6076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-05/2.275, allocations: 28 kB / 0.9886 GB, free: 221.1 MB / 0.6076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.66e-05/2.275, allocations: 11.95 kB / 0.9886 GB, free: 221.1 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.584e-05/2.275, allocations: 16.61 kB / 0.9886 GB, free: 221.1 MB / 0.6076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02236/2.297, allocations: 14.33 MB / 1.003 GB, free: 206.9 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/2.297, allocations: 1.969 kB / 1.003 GB, free: 206.9 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/2.299, allocations: 403.4 kB / 1.003 GB, free: 206.6 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/2.304, allocations: 1.992 MB / 1.005 GB, free: 204.6 MB / 0.6076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003944/2.304, allocations: 47.98 kB / 1.005 GB, free: 204.5 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/2.318, allocations: 14.47 MB / 1.019 GB, free: 189.7 MB / 0.6076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/2.318, allocations: 4.875 kB / 1.019 GB, free: 189.6 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/2.332, allocations: 10.11 MB / 1.029 GB, free: 179.5 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/2.334, allocations: 0.6844 MB / 1.03 GB, free: 178.8 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/2.336, allocations: 46.56 kB / 1.03 GB, free: 178.8 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/2.339, allocations: 187.8 kB / 1.03 GB, free: 178.6 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005773/2.339, allocations: 157.7 kB / 1.03 GB, free: 178.4 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/2.339, allocations: 64 kB / 1.03 GB, free: 178.4 MB / 0.6076 GB Notification: Performance of sorting global known variables: time 0.007081/2.347, allocations: 4.62 MB / 1.035 GB, free: 173.8 MB / 0.6076 GB Notification: Performance of sort global known variables: time 3e-07/2.347, allocations: 0 / 1.035 GB, free: 173.8 MB / 0.6076 GB Notification: Performance of remove unused functions: time 0.009182/2.356, allocations: 1.731 MB / 1.036 GB, free: 172.1 MB / 0.6076 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007403/2.357, allocations: 180 kB / 1.036 GB, free: 171.9 MB / 0.6076 GB Notification: Performance of simCode: created initialization part: time 0.0116/2.368, allocations: 8.456 MB / 1.045 GB, free: 163.4 MB / 0.6076 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/2.368, allocations: 11.08 kB / 1.045 GB, free: 163.4 MB / 0.6076 GB Notification: Performance of simCode: created simulation system equations: time 0.003438/2.372, allocations: 2.924 MB / 1.048 GB, free: 160.4 MB / 0.6076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004705/2.376, allocations: 0.8522 MB / 1.048 GB, free: 159.6 MB / 0.6076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/2.401, allocations: 18.94 MB / 1.067 GB, free: 140.6 MB / 0.6076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005603/2.407, allocations: 5.238 MB / 1.072 GB, free: 135.3 MB / 0.6076 GB Notification: Performance of simCode: alias equations: time 0.006731/2.413, allocations: 2.685 MB / 1.075 GB, free: 132.7 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/2.415, allocations: 387.4 kB / 1.075 GB, free: 132.3 MB / 0.6076 GB Notification: Performance of SimCode: time 8.01e-07/2.415, allocations: 4 kB / 1.075 GB, free: 132.3 MB / 0.6076 GB Notification: Performance of Templates: time 0.105/2.52, allocations: 66.63 MB / 1.14 GB, free: 65.91 MB / 0.6076 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches