Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 183 kB / 16.63 MB, free: 5.137 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001078/0.001078, allocations: 100.6 kB / 269.9 MB, free: 8.445 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.339/0.339, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 48.16 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1247, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.2667/0.3915, allocations: 89.62 MB / 0.5631 GB, free: 6.145 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03717/0.4287, allocations: 17.38 MB / 0.5801 GB, free: 10.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02155/0.4503, allocations: 381.5 kB / 0.5805 GB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009801/0.4601, allocations: 4.555 MB / 0.5849 GB, free: 8.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008581/0.4688, allocations: 2.419 MB / 0.5873 GB, free: 7.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.4726, allocations: 1.075 MB / 0.5883 GB, free: 6.746 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01448/0.4871, allocations: 9.726 MB / 0.5978 GB, free: 3.082 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008913/0.4961, allocations: 5.776 MB / 0.6034 GB, free: 14.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004704/0.5008, allocations: 2.227 MB / 0.6056 GB, free: 11.99 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006073/0.5069, allocations: 3.618 MB / 0.6092 GB, free: 8.363 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002073/0.509, allocations: 408 kB / 0.6095 GB, free: 7.965 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/0.5138, allocations: 1.475 MB / 0.611 GB, free: 6.488 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004667/0.5185, allocations: 2.988 MB / 0.6139 GB, free: 3.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007699/0.5262, allocations: 3.433 MB / 0.6173 GB, free: 40 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01732/0.5435, allocations: 10.91 MB / 0.6279 GB, free: 5.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.5436, allocations: 0 / 0.6279 GB, free: 5.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5436, allocations: 0 / 0.6279 GB, free: 5.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000458/0.544, allocations: 0 / 0.6279 GB, free: 5.098 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02056/0.5646, allocations: 7.571 MB / 0.6353 GB, free: 13.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.5647, allocations: 12.03 kB / 0.6353 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/0.5783, allocations: 2.784 MB / 0.638 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.5909, allocations: 4.272 MB / 0.6422 GB, free: 6.305 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/0.5914, allocations: 389.7 kB / 0.6426 GB, free: 5.922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002607/0.5941, allocations: 0.4957 MB / 0.6431 GB, free: 5.426 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03467/0.6288, allocations: 16.42 MB / 0.6591 GB, free: 4.121 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003086/0.6291, allocations: 59.44 kB / 0.6591 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002072/0.6312, allocations: 235.8 kB / 0.6594 GB, free: 3.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005951/0.6372, allocations: 3.158 MB / 0.6625 GB, free: 0.668 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03075/0.6679, allocations: 14.27 MB / 0.6764 GB, free: 2.375 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2979/0.9659, allocations: 59.11 MB / 0.7341 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/0.9811, allocations: 7.178 MB / 0.7411 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004698/0.9858, allocations: 4.498 MB / 0.7455 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02376/1.01, allocations: 15.43 MB / 0.7606 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/1.01, allocations: 70.36 kB / 0.7607 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 5.65e-06/1.01, allocations: 1.688 kB / 0.7607 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=348): time 0.08231/1.092, allocations: 32.82 MB / 0.7927 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/1.092, allocations: 218.2 kB / 0.7929 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006411/1.099, allocations: 5.352 MB / 0.7981 GB, free: 82.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008607/1.099, allocations: 77.7 kB / 0.7982 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.101, allocations: 4.336 MB / 0.8025 GB, free: 77.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001637/1.103, allocations: 1.281 MB / 0.8037 GB, free: 76.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002113/1.105, allocations: 1.721 MB / 0.8054 GB, free: 74.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.527e-05/1.105, allocations: 305.1 kB / 0.8057 GB, free: 74.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004875/1.11, allocations: 3.925 MB / 0.8095 GB, free: 70.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00634/1.116, allocations: 8.412 MB / 0.8177 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/1.13, allocations: 13.23 MB / 0.8306 GB, free: 44.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/1.13, allocations: 44 kB / 0.8307 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.0236/1.154, allocations: 14.27 MB / 0.8446 GB, free: 29.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/1.154, allocations: 75.98 kB / 0.8447 GB, free: 29.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/1.154, allocations: 159.9 kB / 0.8448 GB, free: 29.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005215/1.16, allocations: 2.257 MB / 0.847 GB, free: 27.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006574/1.166, allocations: 1.992 MB / 0.849 GB, free: 25.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.181, allocations: 13.47 MB / 0.8622 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006956/1.188, allocations: 0.4993 MB / 0.8626 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/1.19, allocations: 487.9 kB / 0.8631 GB, free: 10.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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.006448/1.196, allocations: 3.087 MB / 0.8661 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/1.198, allocations: 0.5053 MB / 0.8666 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/1.214, allocations: 8.39 MB / 0.8748 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-05/1.214, allocations: 36 kB / 0.8748 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/1.214, allocations: 8 kB / 0.8749 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-05/1.214, allocations: 19.94 kB / 0.8749 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2481/1.463, allocations: 17.17 MB / 0.8916 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.791e-05/1.463, allocations: 1.156 kB / 0.8916 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/1.467, allocations: 0.6163 MB / 0.8922 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005356/1.472, allocations: 2.033 MB / 0.8942 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006469/1.473, allocations: 63.52 kB / 0.8943 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/1.487, allocations: 12.71 MB / 0.9067 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.487, allocations: 3.938 kB / 0.9067 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1309/1.618, allocations: 84.57 MB / 0.9893 GB, free: 96.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003558/1.622, allocations: 1.142 MB / 0.9904 GB, free: 95.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/1.623, allocations: 59.03 kB / 0.9905 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/1.627, allocations: 255.6 kB / 0.9907 GB, free: 95.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009407/1.628, allocations: 205.3 kB / 0.9909 GB, free: 95.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004699/1.628, allocations: 91.73 kB / 0.991 GB, free: 95.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005247/1.634, allocations: 3.369 MB / 0.9943 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/1.634, allocations: 1.094 kB / 0.9943 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009416/1.643, allocations: 2.251 MB / 0.9965 GB, free: 89.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (294): * Single equations (assignments): 289 * 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.00087/1.644, allocations: 203.2 kB / 0.9967 GB, free: 89.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01257/1.657, allocations: 9.536 MB / 1.006 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.657, allocations: 1.969 kB / 1.006 GB, free: 79.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005853/1.662, allocations: 4.1 MB / 1.01 GB, free: 75.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004306/1.667, allocations: 0.6377 MB / 1.011 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/1.695, allocations: 22.22 MB / 1.032 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005102/1.7, allocations: 4.931 MB / 1.037 GB, free: 47.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00611/1.706, allocations: 2.717 MB / 1.04 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/1.708, allocations: 391.3 kB / 1.04 GB, free: 44.79 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/1.708, allocations: 0 / 1.04 GB, free: 44.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.3072/2.015, allocations: 89.97 MB / 1.128 GB, free: 125.7 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches