Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 172.6 kB / 16.58 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 222.8 MB, free: 5.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4218/0.4218, allocations: 43.58 MB / 314.6 MB, free: 8.715 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007273/0.0007273, allocations: 19.98 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1906, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3935/0.5842, allocations: 88.58 MB / 0.5189 GB, free: 7.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05251/0.6368, allocations: 17.85 MB / 0.5364 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03095/0.6678, allocations: 415.4 kB / 0.5368 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02452/0.6924, allocations: 4.664 MB / 0.5413 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05052/0.743, allocations: 13.55 MB / 0.5546 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007541/0.7505, allocations: 0.9206 MB / 0.5555 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.05623/0.8068, allocations: 36.36 MB / 0.591 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01666/0.8235, allocations: 7.412 MB / 0.5982 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006675/0.8303, allocations: 2.063 MB / 0.6002 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007831/0.8381, allocations: 3.252 MB / 0.6034 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003392/0.8416, allocations: 244 kB / 0.6036 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005916/0.8476, allocations: 1.131 MB / 0.6047 GB, free: 10.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005314/0.8529, allocations: 2.875 MB / 0.6075 GB, free: 7.266 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003751/0.8567, allocations: 1.376 MB / 0.6089 GB, free: 5.879 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01459/0.8713, allocations: 9.192 MB / 0.6179 GB, free: 12.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.8714, allocations: 0 / 0.6179 GB, free: 12.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.8714, allocations: 3.938 kB / 0.6179 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008368/0.8722, allocations: 0 / 0.6179 GB, free: 12.66 MB / 494.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.02256/0.8948, allocations: 6.685 MB / 0.6244 GB, free: 5.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.8949, allocations: 8.031 kB / 0.6244 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.9087, allocations: 2.923 MB / 0.6272 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5514/1.46, allocations: 4.474 MB / 0.6316 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/1.461, allocations: 396.1 kB / 0.632 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002653/1.463, allocations: 0.5225 MB / 0.6325 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03315/1.496, allocations: 16.9 MB / 0.649 GB, free: 138.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/1.497, allocations: 65.78 kB / 0.6491 GB, free: 138.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007638/1.498, allocations: 253.1 kB / 0.6493 GB, free: 138 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004979/1.503, allocations: 3.254 MB / 0.6525 GB, free: 137.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03748/1.54, allocations: 14.45 MB / 0.6666 GB, free: 133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1011/1.641, allocations: 62.77 MB / 0.7279 GB, free: 78.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/1.657, allocations: 6.9 MB / 0.7346 GB, free: 71.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005452/1.663, allocations: 4.236 MB / 0.7388 GB, free: 66.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01937/1.682, allocations: 9.663 MB / 0.7482 GB, free: 57.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.022e-05/1.682, allocations: 69.38 kB / 0.7483 GB, free: 57.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 6.773e-06/1.682, allocations: 4 kB / 0.7483 GB, free: 57.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.08872/1.771, allocations: 34.73 MB / 0.7822 GB, free: 22.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/1.771, allocations: 245.8 kB / 0.7824 GB, free: 21.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.782, allocations: 6.704 MB / 0.789 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.783, allocations: 78.95 kB / 0.7891 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002989/1.786, allocations: 4.756 MB / 0.7937 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002256/1.788, allocations: 1.263 MB / 0.7949 GB, free: 9.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006936/1.789, allocations: 189.3 kB / 0.7951 GB, free: 8.855 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004034/1.789, allocations: 0.6907 MB / 0.7958 GB, free: 8.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005375/1.795, allocations: 4.039 MB / 0.7997 GB, free: 4.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/1.806, allocations: 9.104 MB / 0.8086 GB, free: 8.52 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.818, allocations: 5.912 MB / 0.8144 GB, free: 2.609 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002792/1.819, allocations: 51.56 kB / 0.8144 GB, free: 2.562 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.383/2.202, allocations: 15.04 MB / 0.8291 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/2.202, allocations: 83.94 kB / 0.8292 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002986/2.202, allocations: 176.8 kB / 0.8294 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005718/2.208, allocations: 2.313 MB / 0.8316 GB, free: 135.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008845/2.217, allocations: 2.146 MB / 0.8337 GB, free: 135.6 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/2.238, allocations: 13.51 MB / 0.8469 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/2.25, allocations: 0.54 MB / 0.8475 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003887/2.254, allocations: 0.5395 MB / 0.848 GB, free: 128.8 MB / 0.4982 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.01769/2.272, allocations: 3.288 MB / 0.8512 GB, free: 127.4 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004733/2.277, allocations: 0.581 MB / 0.8518 GB, free: 127.4 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/2.303, allocations: 8.436 MB / 0.86 GB, free: 124.4 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/2.303, allocations: 34.72 kB / 0.86 GB, free: 124.4 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.051e-05/2.303, allocations: 10.72 kB / 0.86 GB, free: 124.4 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001213/2.303, allocations: 18.53 kB / 0.8601 GB, free: 124.4 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04702/2.35, allocations: 17.08 MB / 0.8767 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-05/2.351, allocations: 3.969 kB / 0.8768 GB, free: 118.5 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003308/2.354, allocations: 0.5784 MB / 0.8773 GB, free: 118.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005218/2.359, allocations: 2.045 MB / 0.8793 GB, free: 118 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009831/2.36, allocations: 57.91 kB / 0.8794 GB, free: 118 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/2.377, allocations: 12.73 MB / 0.8918 GB, free: 107.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.6e-05/2.377, allocations: 15.88 kB / 0.8918 GB, free: 107.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02436/2.401, allocations: 13.06 MB / 0.9046 GB, free: 94.66 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004429/2.406, allocations: 1.251 MB / 0.9058 GB, free: 93.38 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002665/2.409, allocations: 56 kB / 0.9058 GB, free: 93.32 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004372/2.413, allocations: 257.6 kB / 0.9061 GB, free: 93.08 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009866/2.414, allocations: 197.9 kB / 0.9063 GB, free: 92.89 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005746/2.415, allocations: 91.98 kB / 0.9064 GB, free: 92.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.0101/2.425, allocations: 4.309 MB / 0.9106 GB, free: 88.5 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.11e-07/2.425, allocations: 0 / 0.9106 GB, free: 88.5 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01298/2.438, allocations: 1.767 MB / 0.9123 GB, free: 86.74 MB / 0.4982 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.001414/2.439, allocations: 214.5 kB / 0.9125 GB, free: 86.53 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01684/2.456, allocations: 9.742 MB / 0.922 GB, free: 76.85 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/2.456, allocations: 0 / 0.922 GB, free: 76.85 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007217/2.463, allocations: 3.977 MB / 0.9259 GB, free: 72.86 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008707/2.472, allocations: 0.7362 MB / 0.9266 GB, free: 72.14 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03799/2.51, allocations: 19.37 MB / 0.9455 GB, free: 52.74 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01027/2.52, allocations: 5.038 MB / 0.9505 GB, free: 47.66 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01001/2.53, allocations: 2.982 MB / 0.9534 GB, free: 44.68 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00285/2.533, allocations: 415.3 kB / 0.9538 GB, free: 44.27 MB / 0.4982 GB Notification: Performance of SimCode: time 2.054e-06/2.533, allocations: 0 / 0.9538 GB, free: 44.27 MB / 0.4982 GB Notification: Performance of Templates: time 0.42/2.953, allocations: 67.34 MB / 1.02 GB, free: 136.9 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches