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.001105/0.001106, allocations: 116.6 kB / 17.09 MB, free: 5.988 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.001191/0.001191, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.347/1.347, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1964/0.1964, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 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.001508/0.001508, allocations: 77.41 kB / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1041, allocations: 57.77 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01729/0.1214, allocations: 17.12 MB / 0.5053 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.1339, allocations: 5.253 MB / 0.5104 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.1371, allocations: 107.8 kB / 0.5105 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008674/0.1459, allocations: 4.859 MB / 0.5153 GB, free: 304 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006833/0.1527, allocations: 2.766 MB / 0.518 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.1553, allocations: 1.146 MB / 0.5191 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009264/0.1646, allocations: 6.999 MB / 0.5259 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2324/0.397, allocations: 6.073 MB / 0.5319 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/0.4013, allocations: 2.621 MB / 0.5344 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.4063, allocations: 3.565 MB / 0.5379 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.4076, allocations: 0.578 MB / 0.5385 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.4109, allocations: 1.6 MB / 0.54 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003742/0.4146, allocations: 3.325 MB / 0.5433 GB, free: 6.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004454/0.4191, allocations: 3.785 MB / 0.547 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.4333, allocations: 11.95 MB / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4333, allocations: 0 / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4333, allocations: 0 / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003828/0.4337, allocations: 1.531 kB / 0.5586 GB, free: 2.809 MB / 414.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.01917/0.4529, allocations: 8.083 MB / 0.5665 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4529, allocations: 12.86 kB / 0.5666 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.4652, allocations: 2.86 MB / 0.5693 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009006/0.4743, allocations: 4.627 MB / 0.5739 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.4745, allocations: 396.1 kB / 0.5742 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.4756, allocations: 0.5253 MB / 0.5748 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03336/0.5089, allocations: 16.91 MB / 0.5913 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003225/0.5093, allocations: 70.83 kB / 0.5913 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00255/0.5119, allocations: 250.3 kB / 0.5916 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005902/0.5178, allocations: 3.255 MB / 0.5948 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03085/0.5487, allocations: 14.51 MB / 0.6089 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08382/0.6325, allocations: 62.42 MB / 0.6699 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/0.6502, allocations: 6.912 MB / 0.6766 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005708/0.6559, allocations: 4.239 MB / 0.6808 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0171/0.6731, allocations: 9.655 MB / 0.6902 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.6732, allocations: 71.25 kB / 0.6903 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=297): time 5.69e-06/0.6732, allocations: 4 kB / 0.6903 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339): time 0.0921/0.7653, allocations: 34.78 MB / 0.7242 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.7654, allocations: 244.2 kB / 0.7245 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/0.7803, allocations: 6.745 MB / 0.7311 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009422/0.7813, allocations: 75.89 kB / 0.7311 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003567/0.7848, allocations: 4.747 MB / 0.7358 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001734/0.7866, allocations: 1.274 MB / 0.737 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003341/0.7899, allocations: 1.879 MB / 0.7388 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.79, allocations: 303.8 kB / 0.7391 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005757/0.7958, allocations: 4.075 MB / 0.7431 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00876/0.8046, allocations: 9.143 MB / 0.752 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2313/1.036, allocations: 14.16 MB / 0.7659 GB, free: 188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001552/1.036, allocations: 54.84 kB / 0.7659 GB, free: 188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02906/1.065, allocations: 15.12 MB / 0.7807 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/1.065, allocations: 77.47 kB / 0.7808 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001969/1.065, allocations: 176.1 kB / 0.7809 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005425/1.071, allocations: 2.285 MB / 0.7832 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007491/1.078, allocations: 2.151 MB / 0.7853 GB, free: 183.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/1.093, allocations: 14.45 MB / 0.7994 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007324/1.1, allocations: 0.543 MB / 0.7999 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.102, allocations: 0.5282 MB / 0.8004 GB, free: 175.7 MB / 0.5919 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 (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.005353/1.107, allocations: 3.29 MB / 0.8036 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.108, allocations: 0.5766 MB / 0.8042 GB, free: 174 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.122, allocations: 8.457 MB / 0.8125 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.179e-05/1.122, allocations: 23.11 kB / 0.8125 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.122, allocations: 0 / 0.8125 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003298/1.125, allocations: 1.222 MB / 0.8137 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002045/1.127, allocations: 52.69 kB / 0.8137 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00433/1.131, allocations: 245.5 kB / 0.814 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008963/1.132, allocations: 223.8 kB / 0.8142 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01447/1.147, allocations: 8.555 MB / 0.8225 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01241/1.159, allocations: 11.1 MB / 0.8334 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003171/1.162, allocations: 3.052 MB / 0.8363 GB, free: 145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007998/1.17, allocations: 4.313 MB / 0.8406 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of Backend: time 6.42e-07/1.17, allocations: 0 / 0.8406 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01543/1.186, allocations: 7.404 MB / 0.8478 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02473/1.211, allocations: 15.16 MB / 0.8626 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1227/1.333, allocations: 85.83 MB / 0.9464 GB, free: 32.49 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches