Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002069/0.002069, allocations: 179.3 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007143/0.000714, allocations: 95.73 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4347/0.4347, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 12 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3663/0.5195, allocations: 88.59 MB / 0.5653 GB, free: 3.367 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0576/0.5772, allocations: 17.83 MB / 0.5827 GB, free: 7.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0277/0.6049, allocations: 417.3 kB / 0.5831 GB, free: 7.117 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02044/0.6254, allocations: 4.668 MB / 0.5876 GB, free: 5.461 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04668/0.6721, allocations: 13.55 MB / 0.6009 GB, free: 9.129 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007004/0.6792, allocations: 0.9176 MB / 0.6018 GB, free: 8.211 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.04938/0.7286, allocations: 36.36 MB / 0.6373 GB, free: 3.805 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.7404, allocations: 7.409 MB / 0.6445 GB, free: 12.36 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00602/0.7464, allocations: 2.063 MB / 0.6465 GB, free: 10.29 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00633/0.7528, allocations: 3.259 MB / 0.6497 GB, free: 7.02 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.7544, allocations: 248 kB / 0.6499 GB, free: 6.777 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.7578, allocations: 1.12 MB / 0.651 GB, free: 5.656 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003973/0.7618, allocations: 2.871 MB / 0.6538 GB, free: 2.777 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004226/0.766, allocations: 1.38 MB / 0.6552 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.7784, allocations: 9.196 MB / 0.6642 GB, free: 8.164 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.7785, allocations: 0 / 0.6642 GB, free: 8.164 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7785, allocations: 0 / 0.6642 GB, free: 8.164 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005315/0.779, allocations: 0 / 0.6642 GB, free: 8.164 MB / 490.7 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.01758/0.7966, allocations: 6.677 MB / 0.6707 GB, free: 1.406 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.7967, allocations: 8.031 kB / 0.6707 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.494/1.291, allocations: 2.92 MB / 0.6735 GB, free: 142.1 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/1.303, allocations: 4.478 MB / 0.6779 GB, free: 141.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/1.304, allocations: 399.7 kB / 0.6783 GB, free: 141.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/1.306, allocations: 0.5237 MB / 0.6788 GB, free: 141.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/1.336, allocations: 16.9 MB / 0.6953 GB, free: 134.4 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000191/1.336, allocations: 64.19 kB / 0.6954 GB, free: 134.3 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006929/1.337, allocations: 249.7 kB / 0.6956 GB, free: 134.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005198/1.342, allocations: 3.258 MB / 0.6988 GB, free: 133.6 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03225/1.375, allocations: 14.45 MB / 0.7129 GB, free: 129.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08139/1.456, allocations: 62.77 MB / 0.7742 GB, free: 71 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01551/1.472, allocations: 6.916 MB / 0.781 GB, free: 63.95 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004991/1.477, allocations: 4.232 MB / 0.7851 GB, free: 59.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/1.491, allocations: 9.661 MB / 0.7945 GB, free: 50.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/1.491, allocations: 64.83 kB / 0.7946 GB, free: 49.95 MB / 490.8 MB Notification: Performance of pre-optimization done (n=297): time 5.68e-06/1.491, allocations: 7.938 kB / 0.7946 GB, free: 49.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=339): time 0.08049/1.572, allocations: 34.73 MB / 0.8285 GB, free: 14.97 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.572, allocations: 240.2 kB / 0.8287 GB, free: 14.69 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009892/1.582, allocations: 6.712 MB / 0.8353 GB, free: 7.98 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001326/1.583, allocations: 77.7 kB / 0.8354 GB, free: 7.898 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003708/1.587, allocations: 4.746 MB / 0.84 GB, free: 3.156 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002775/1.59, allocations: 1.268 MB / 0.8412 GB, free: 1.898 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009076/1.591, allocations: 184 kB / 0.8414 GB, free: 1.719 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005138/1.591, allocations: 0.6986 MB / 0.8421 GB, free: 1.012 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006784/1.598, allocations: 4.031 MB / 0.846 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/1.61, allocations: 9.112 MB / 0.8549 GB, free: 1.379 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.621, allocations: 5.916 MB / 0.8607 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.621, allocations: 55.95 kB / 0.8608 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.3287/1.95, allocations: 15.04 MB / 0.8755 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001794/1.95, allocations: 85.09 kB / 0.8755 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004159/1.951, allocations: 174.9 kB / 0.8757 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/1.958, allocations: 2.303 MB / 0.8779 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008561/1.966, allocations: 2.149 MB / 0.88 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/1.984, allocations: 13.51 MB / 0.8932 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009313/1.993, allocations: 0.5409 MB / 0.8938 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001989/1.995, allocations: 0.5312 MB / 0.8943 GB, free: 140.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1125): * Single equations (assignments): 1118 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006922/2.002, allocations: 3.291 MB / 0.8975 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/2.004, allocations: 0.582 MB / 0.8981 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/2.017, allocations: 8.439 MB / 0.9063 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-05/2.017, allocations: 34.97 kB / 0.9063 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-05/2.017, allocations: 9.406 kB / 0.9064 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/2.017, allocations: 21.12 kB / 0.9064 GB, free: 136 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03704/2.054, allocations: 17.08 MB / 0.9231 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/2.054, allocations: 3.938 kB / 0.9231 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003151/2.057, allocations: 0.5789 MB / 0.9236 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005163/2.063, allocations: 2.043 MB / 0.9256 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005864/2.063, allocations: 62.62 kB / 0.9257 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/2.078, allocations: 12.72 MB / 0.9381 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/2.078, allocations: 8.875 kB / 0.9381 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01939/2.098, allocations: 13.07 MB / 0.9509 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003666/2.102, allocations: 1.252 MB / 0.9521 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/2.103, allocations: 56 kB / 0.9522 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003105/2.106, allocations: 243.6 kB / 0.9524 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000536/2.107, allocations: 213.8 kB / 0.9526 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/2.107, allocations: 89.23 kB / 0.9527 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006539/2.113, allocations: 4.299 MB / 0.9569 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/2.113, allocations: 0 / 0.9569 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008675/2.122, allocations: 1.774 MB / 0.9586 GB, free: 107.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007243/2.123, allocations: 204.5 kB / 0.9588 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01353/2.136, allocations: 9.745 MB / 0.9683 GB, free: 97.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/2.136, allocations: 4 kB / 0.9683 GB, free: 97.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006023/2.142, allocations: 3.981 MB / 0.9722 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/2.147, allocations: 0.7445 MB / 0.9729 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/2.176, allocations: 20.04 MB / 0.9925 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005276/2.181, allocations: 5.007 MB / 0.9974 GB, free: 68.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/2.184, allocations: 483.3 kB / 0.9979 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/2.184, allocations: 4 kB / 0.9979 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.5239/2.708, allocations: 159.4 MB / 1.153 GB, free: 81.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches