Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 108.3 kB / 16.64 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 190.5 kB / 17.56 MB, free: 5.93 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.421/1.421, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2065/0.2065, allocations: 43.51 MB / 314.3 MB, free: 0.7109 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.001582/0.001582, allocations: 73.28 kB / 382.9 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09935, allocations: 57.8 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.08078/0.1802, allocations: 93.45 MB / 0.5216 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3006/0.4808, allocations: 17.86 MB / 0.539 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02824/0.5091, allocations: 394.4 kB / 0.5394 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009974/0.5192, allocations: 4.417 MB / 0.5437 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008567/0.5278, allocations: 2.429 MB / 0.5461 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.5312, allocations: 1.068 MB / 0.5472 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01359/0.5448, allocations: 6.93 MB / 0.5539 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009675/0.5546, allocations: 6.087 MB / 0.5599 GB, free: 320 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006953/0.5616, allocations: 2.55 MB / 0.5624 GB, free: 0 / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007313/0.569, allocations: 3.815 MB / 0.5661 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002669/0.5717, allocations: 0.5635 MB / 0.5666 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004821/0.5765, allocations: 1.592 MB / 0.5682 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005108/0.5817, allocations: 3.215 MB / 0.5713 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007821/0.5895, allocations: 3.673 MB / 0.5749 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.6019, allocations: 9.219 MB / 0.5839 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.6019, allocations: 0 / 0.5839 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.654e-06/0.6019, allocations: 0 / 0.5839 GB, free: 3.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005251/0.6025, allocations: 0 / 0.5839 GB, free: 3.363 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02154/0.624, allocations: 7.688 MB / 0.5914 GB, free: 12.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.6241, allocations: 15.89 kB / 0.5914 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/0.6382, allocations: 2.826 MB / 0.5942 GB, free: 9.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009765/0.648, allocations: 4.303 MB / 0.5984 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.6484, allocations: 393.5 kB / 0.5988 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/0.6505, allocations: 0.5018 MB / 0.5993 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0316/0.6821, allocations: 16.4 MB / 0.6153 GB, free: 3.758 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002406/0.6824, allocations: 64.67 kB / 0.6153 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/0.6837, allocations: 245 kB / 0.6156 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005763/0.6895, allocations: 3.151 MB / 0.6187 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03024/0.7197, allocations: 14.14 MB / 0.6325 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08186/0.8017, allocations: 60.64 MB / 0.6917 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01914/0.8208, allocations: 8 MB / 0.6995 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005483/0.8263, allocations: 4.208 MB / 0.7036 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.8266, allocations: 61.52 kB / 0.7037 GB, free: 8.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.8267, allocations: 66.91 kB / 0.7037 GB, free: 8.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=290): time 5.53e-06/0.8267, allocations: 0 / 0.7037 GB, free: 8.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=332): time 0.09464/0.9213, allocations: 35.4 MB / 0.7383 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.9215, allocations: 214.1 kB / 0.7385 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.235/1.157, allocations: 6.356 MB / 0.7447 GB, free: 244.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001039/1.158, allocations: 82.11 kB / 0.7448 GB, free: 244.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003502/1.161, allocations: 4.539 MB / 0.7492 GB, free: 242.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001996/1.163, allocations: 1.24 MB / 0.7504 GB, free: 242.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004186/1.167, allocations: 1.816 MB / 0.7522 GB, free: 241.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/1.167, allocations: 301.1 kB / 0.7525 GB, free: 241.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007849/1.175, allocations: 4.103 MB / 0.7565 GB, free: 239.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/1.186, allocations: 8.96 MB / 0.7652 GB, free: 232 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/1.202, allocations: 13.99 MB / 0.7789 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003261/1.203, allocations: 47.56 kB / 0.779 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02877/1.231, allocations: 14.96 MB / 0.7936 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003171/1.232, allocations: 82.25 kB / 0.7936 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003982/1.232, allocations: 171.9 kB / 0.7938 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00579/1.238, allocations: 2.284 MB / 0.796 GB, free: 215.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007629/1.246, allocations: 2.099 MB / 0.7981 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.261, allocations: 14.44 MB / 0.8122 GB, free: 199.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009539/1.271, allocations: 0.5383 MB / 0.8127 GB, free: 198.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/1.273, allocations: 0.5099 MB / 0.8132 GB, free: 198.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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 (1084): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008575/1.282, allocations: 3.167 MB / 0.8163 GB, free: 195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/1.284, allocations: 0.5515 MB / 0.8168 GB, free: 194.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.298, allocations: 8.458 MB / 0.8251 GB, free: 186 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-05/1.298, allocations: 35.19 kB / 0.8251 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/1.298, allocations: 12 kB / 0.8251 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.849e-05/1.298, allocations: 15.94 kB / 0.8252 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03044/1.328, allocations: 17.42 MB / 0.8422 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/1.329, allocations: 4 kB / 0.8422 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/1.332, allocations: 0.6006 MB / 0.8428 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004782/1.337, allocations: 2.043 MB / 0.8448 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009075/1.338, allocations: 67.66 kB / 0.8448 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/1.352, allocations: 13.66 MB / 0.8582 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.352, allocations: 4 kB / 0.8582 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/1.37, allocations: 13.5 MB / 0.8714 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/1.373, allocations: 1.24 MB / 0.8726 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/1.375, allocations: 67.58 kB / 0.8726 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/1.378, allocations: 279.6 kB / 0.8729 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006785/1.379, allocations: 197.8 kB / 0.8731 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/1.379, allocations: 91.92 kB / 0.8732 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006169/1.385, allocations: 4.057 MB / 0.8771 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.31e-07/1.385, allocations: 0 / 0.8771 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01034/1.396, allocations: 1.742 MB / 0.8788 GB, free: 130.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007429/1.396, allocations: 207.2 kB / 0.879 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0219/1.418, allocations: 14.51 MB / 0.8932 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.418, allocations: 0 / 0.8932 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006988/1.425, allocations: 4.138 MB / 0.8973 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/1.433, allocations: 0.7244 MB / 0.898 GB, free: 110.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/1.466, allocations: 20.1 MB / 0.9176 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005795/1.472, allocations: 4.83 MB / 0.9223 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002478/1.474, allocations: 467.3 kB / 0.9228 GB, free: 85.35 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.474, allocations: 0 / 0.9228 GB, free: 85.35 MB / 0.5762 GB Notification: Performance of Templates: time 0.4525/1.927, allocations: 155.3 MB / 1.074 GB, free: 158.2 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches