Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002661/0.002668, allocations: 189.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 3.54/3.54, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001803/0.001803, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006746/0.0006746, allocations: 8 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2182, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.5285/0.7467, allocations: 49.64 MB / 424.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05662/0.8034, allocations: 11.68 MB / 435.9 MB, free: 15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01845/0.822, allocations: 239.4 kB / 436.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01578/0.8378, allocations: 2.469 MB / 438.6 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05152/0.8894, allocations: 7.162 MB / 445.7 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007753/0.8973, allocations: 0.6131 MB / 446.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.06102/0.9584, allocations: 14.36 MB / 460.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01809/0.9765, allocations: 5.078 MB / 465.8 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/0.9816, allocations: 1.137 MB / 466.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005765/0.9874, allocations: 1.483 MB / 468.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001927/0.9894, allocations: 164 kB / 468.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005092/0.9946, allocations: 0.9247 MB / 469.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005062/0.9997, allocations: 1.808 MB / 471.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003377/1.003, allocations: 0.9478 MB / 472.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01705/1.02, allocations: 6.391 MB / 478.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.02, allocations: 0 / 478.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.088e-06/1.02, allocations: 0 / 478.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003598/1.021, allocations: 0 / 478.6 MB, free: 4.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.02688/1.048, allocations: 4.814 MB / 483.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/1.048, allocations: 8.031 kB / 483.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07309/1.121, allocations: 5.126 MB / 488.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.136, allocations: 3.081 MB / 491.7 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000763/1.137, allocations: 266.8 kB / 491.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/1.14, allocations: 347.7 kB / 492.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05355/1.193, allocations: 11.72 MB / 0.4922 GB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003344/1.194, allocations: 51.59 kB / 0.4922 GB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002073/1.196, allocations: 167.8 kB / 0.4924 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01039/1.206, allocations: 2.331 MB / 0.4946 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04915/1.255, allocations: 9.991 MB / 0.5044 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.586/1.842, allocations: 44.41 MB / 0.5478 GB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03752/1.879, allocations: 5.426 MB / 0.5531 GB, free: 104.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03297/1.912, allocations: 8.044 MB / 0.5609 GB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.653e-05/1.912, allocations: 58.66 kB / 0.561 GB, free: 100.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 1.051e-05/1.912, allocations: 1.375 kB / 0.561 GB, free: 100.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.1432/2.056, allocations: 20.7 MB / 0.5812 GB, free: 89.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/2.056, allocations: 183.8 kB / 0.5814 GB, free: 89.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01562/2.071, allocations: 4.879 MB / 0.5861 GB, free: 84.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008553/2.072, allocations: 61.61 kB / 0.5862 GB, free: 84.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003902/2.076, allocations: 3.296 MB / 0.5894 GB, free: 81.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002138/2.079, allocations: 0.8861 MB / 0.5903 GB, free: 80.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/2.08, allocations: 132.8 kB / 0.5904 GB, free: 80.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008134/2.081, allocations: 0.5841 MB / 0.591 GB, free: 79.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01042/2.091, allocations: 2.573 MB / 0.5935 GB, free: 77.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01344/2.105, allocations: 6.445 MB / 0.5998 GB, free: 69.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/2.119, allocations: 3.999 MB / 0.6037 GB, free: 65.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001995/2.12, allocations: 40 kB / 0.6037 GB, free: 65.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.04118/2.161, allocations: 9.482 MB / 0.613 GB, free: 55.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/2.161, allocations: 64 kB / 0.613 GB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003317/2.162, allocations: 136 kB / 0.6132 GB, free: 55.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006495/2.168, allocations: 0.9694 MB / 0.6141 GB, free: 54.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01465/2.183, allocations: 1.579 MB / 0.6157 GB, free: 52.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/2.203, allocations: 6.256 MB / 0.6218 GB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/2.216, allocations: 379.5 kB / 0.6221 GB, free: 46.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/2.218, allocations: 405.1 kB / 0.6225 GB, free: 45.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01013/2.229, allocations: 2.376 MB / 0.6248 GB, free: 43.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/2.231, allocations: 418.5 kB / 0.6252 GB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/2.252, allocations: 4.406 MB / 0.6295 GB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.689e-05/2.252, allocations: 24 kB / 0.6296 GB, free: 38.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.361e-05/2.252, allocations: 4 kB / 0.6296 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.732e-05/2.253, allocations: 19.95 kB / 0.6296 GB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04779/2.3, allocations: 10.52 MB / 0.6399 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.123e-05/2.3, allocations: 7.656 kB / 0.6399 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00665/2.307, allocations: 435.3 kB / 0.6403 GB, free: 27.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005951/2.313, allocations: 0.7694 MB / 0.641 GB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008669/2.314, allocations: 44 kB / 0.6411 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/2.334, allocations: 5.789 MB / 0.6467 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.585e-05/2.334, allocations: 11.94 kB / 0.6467 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02904/2.363, allocations: 8.463 MB / 0.655 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004531/2.368, allocations: 0.8351 MB / 0.6558 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002199/2.37, allocations: 47.98 kB / 0.6559 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005865/2.376, allocations: 145.1 kB / 0.656 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001424/2.377, allocations: 145.7 kB / 0.6561 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000643/2.378, allocations: 65.25 kB / 0.6562 GB, free: 10.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01196/2.39, allocations: 3.133 MB / 0.6593 GB, free: 7.629 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.363e-06/2.39, allocations: 4 kB / 0.6593 GB, free: 7.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01372/2.404, allocations: 1.178 MB / 0.6604 GB, free: 6.453 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001718/2.406, allocations: 203.2 kB / 0.6606 GB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02264/2.428, allocations: 6.24 MB / 0.6667 GB, free: 32 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.859e-05/2.428, allocations: 4 kB / 0.6667 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01153/2.44, allocations: 2.314 MB / 0.669 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/2.447, allocations: 486.8 kB / 0.6694 GB, free: 13.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05481/2.501, allocations: 13.49 MB / 0.6826 GB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01339/2.515, allocations: 3.77 MB / 0.6863 GB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003881/2.519, allocations: 343.4 kB / 0.6866 GB, free: 11.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.973e-06/2.519, allocations: 0 / 0.6866 GB, free: 11.49 MB / 442.7 MB Notification: Performance of Templates: time 0.7167/3.236, allocations: 86.06 MB / 0.7707 GB, free: 93.94 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches