Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001634/0.001638, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3078/0.3078, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 8 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 58.86 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.4828/0.6071, allocations: 63.13 MB / 0.5404 GB, free: 9.531 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03911/0.6463, allocations: 14.52 MB / 0.5546 GB, free: 3.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01585/0.6622, allocations: 313 kB / 0.5549 GB, free: 3.434 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.6741, allocations: 3.162 MB / 0.5579 GB, free: 1.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03893/0.7131, allocations: 9.104 MB / 0.5668 GB, free: 11.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007772/0.7209, allocations: 0.7716 MB / 0.5676 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.08278/0.8037, allocations: 26.95 MB / 0.5939 GB, free: 2.141 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01284/0.8166, allocations: 5.709 MB / 0.5995 GB, free: 12.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.8207, allocations: 1.394 MB / 0.6008 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004596/0.8253, allocations: 1.873 MB / 0.6027 GB, free: 9.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.8268, allocations: 192 kB / 0.6028 GB, free: 8.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004171/0.831, allocations: 1.061 MB / 0.6039 GB, free: 7.836 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004677/0.8357, allocations: 2.205 MB / 0.606 GB, free: 5.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.8383, allocations: 1.119 MB / 0.6071 GB, free: 4.496 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.8513, allocations: 7.548 MB / 0.6145 GB, free: 12.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8514, allocations: 0 / 0.6145 GB, free: 12.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.8514, allocations: 0 / 0.6145 GB, free: 12.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003051/0.8517, allocations: 0 / 0.6145 GB, free: 12.93 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02002/0.8718, allocations: 5.755 MB / 0.6201 GB, free: 7.094 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.8718, allocations: 8.031 kB / 0.6201 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08809/0.9599, allocations: 8.106 MB / 0.628 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.974, allocations: 4.294 MB / 0.6322 GB, free: 10.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/0.9745, allocations: 303.8 kB / 0.6325 GB, free: 10.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001956/0.9765, allocations: 411.6 kB / 0.6329 GB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03704/1.014, allocations: 12.97 MB / 0.6456 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/1.014, allocations: 59.47 kB / 0.6456 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/1.015, allocations: 199.8 kB / 0.6458 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007577/1.023, allocations: 2.499 MB / 0.6483 GB, free: 9.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03609/1.059, allocations: 10.69 MB / 0.6587 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0985/1.158, allocations: 49.83 MB / 0.7074 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/1.178, allocations: 4.439 MB / 0.7117 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01944/1.197, allocations: 6.583 MB / 0.7181 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/1.197, allocations: 55.66 kB / 0.7182 GB, free: 16 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=183): time 5.821e-06/1.197, allocations: 0 / 0.7182 GB, free: 16 kB / 0.5105 GB Notification: Performance of matching and sorting (n=195): time 0.4086/1.606, allocations: 17.92 MB / 0.7357 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.606, allocations: 238.1 kB / 0.7359 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01461/1.621, allocations: 6.144 MB / 0.7419 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005136/1.621, allocations: 52.86 kB / 0.742 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003584/1.625, allocations: 3.926 MB / 0.7458 GB, free: 175.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.626, allocations: 0.7689 MB / 0.7466 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008672/1.627, allocations: 143.2 kB / 0.7467 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000546/1.628, allocations: 0.6179 MB / 0.7473 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006334/1.634, allocations: 2.388 MB / 0.7496 GB, free: 173.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009009/1.643, allocations: 6.872 MB / 0.7563 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009155/1.652, allocations: 3.954 MB / 0.7602 GB, free: 164 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001562/1.653, allocations: 48 kB / 0.7602 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02455/1.677, allocations: 9.318 MB / 0.7693 GB, free: 155 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/1.677, allocations: 72 kB / 0.7694 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002035/1.678, allocations: 160 kB / 0.7696 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/1.681, allocations: 0.7589 MB / 0.7703 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00996/1.691, allocations: 1.665 MB / 0.7719 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.702, allocations: 6.582 MB / 0.7784 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008271/1.71, allocations: 391.6 kB / 0.7787 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.711, allocations: 448.7 kB / 0.7792 GB, free: 144.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (880): * Single equations (assignments): 873 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006619/1.718, allocations: 2.693 MB / 0.7818 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.72, allocations: 493.5 kB / 0.7823 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009384/1.729, allocations: 3.294 MB / 0.7855 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.806e-05/1.729, allocations: 25.19 kB / 0.7855 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/1.729, allocations: 11.95 kB / 0.7855 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-05/1.729, allocations: 11.97 kB / 0.7855 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/1.754, allocations: 8.847 MB / 0.7942 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.754, allocations: 0 / 0.7942 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003158/1.758, allocations: 323.5 kB / 0.7945 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.76, allocations: 0.4994 MB / 0.795 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004036/1.76, allocations: 35.98 kB / 0.795 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009507/1.77, allocations: 5.898 MB / 0.8008 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.77, allocations: 4.625 kB / 0.8008 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.784, allocations: 6.472 MB / 0.8071 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003291/1.787, allocations: 0.8265 MB / 0.8079 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/1.789, allocations: 42.09 kB / 0.8079 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004109/1.793, allocations: 95.88 kB / 0.808 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006887/1.794, allocations: 117 kB / 0.8081 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.794, allocations: 60.45 kB / 0.8082 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009377/1.804, allocations: 3.964 MB / 0.8121 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/1.804, allocations: 0 / 0.8121 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008971/1.813, allocations: 1.258 MB / 0.8133 GB, free: 109.2 MB / 0.5105 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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0009683/1.814, allocations: 185.1 kB / 0.8135 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01357/1.827, allocations: 5.883 MB / 0.8192 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.827, allocations: 0 / 0.8192 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003975/1.831, allocations: 1.777 MB / 0.8209 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005277/1.837, allocations: 0.6145 MB / 0.8215 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03155/1.868, allocations: 14.45 MB / 0.8357 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008394/1.877, allocations: 4.263 MB / 0.8398 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/1.879, allocations: 375.4 kB / 0.8402 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of SimCode: time 2.805e-06/1.879, allocations: 0 / 0.8402 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.6051/2.484, allocations: 119.2 MB / 0.9566 GB, free: 130.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches