Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 96.94 kB / 17.08 MB, free: 5.992 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.001207/0.001207, allocations: 195.3 kB / 18.01 MB, free: 5.078 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.294/1.294, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1932/0.1933, allocations: 43.53 MB / 314.8 MB, free: 456 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.00134/0.00134, allocations: 63.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09197, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01369/0.1057, allocations: 14.23 MB / 0.5025 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009292/0.115, allocations: 4.661 MB / 0.507 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.1181, allocations: 91.75 kB / 0.5071 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006909/0.125, allocations: 3.773 MB / 0.5108 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005437/0.1305, allocations: 2.428 MB / 0.5132 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.1326, allocations: 1.006 MB / 0.5142 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007359/0.14, allocations: 6.015 MB / 0.52 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004921/0.1449, allocations: 4.734 MB / 0.5247 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.1474, allocations: 2.126 MB / 0.5267 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.1507, allocations: 2.889 MB / 0.5296 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007512/0.1514, allocations: 460 kB / 0.53 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1992/0.3506, allocations: 1.475 MB / 0.5314 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003092/0.3538, allocations: 2.696 MB / 0.5341 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003985/0.3578, allocations: 3.025 MB / 0.537 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.3693, allocations: 9.656 MB / 0.5465 GB, free: 10.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3693, allocations: 0 / 0.5465 GB, free: 10.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3693, allocations: 1.781 kB / 0.5465 GB, free: 10.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002423/0.3695, allocations: 1.875 kB / 0.5465 GB, free: 10.12 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01536/0.3849, allocations: 6.546 MB / 0.5528 GB, free: 7.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.385, allocations: 13.83 kB / 0.5529 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.3967, allocations: 2.664 MB / 0.5555 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008628/0.4054, allocations: 4.071 MB / 0.5594 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.4056, allocations: 312.3 kB / 0.5597 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.4069, allocations: 408.8 kB / 0.5601 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/0.4254, allocations: 13.01 MB / 0.5728 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/0.4256, allocations: 66.58 kB / 0.5729 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005488/0.4261, allocations: 194 kB / 0.5731 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003541/0.4297, allocations: 2.502 MB / 0.5755 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02053/0.4502, allocations: 10.84 MB / 0.5861 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05909/0.5093, allocations: 49.94 MB / 0.6349 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.5202, allocations: 4.548 MB / 0.6393 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/0.5235, allocations: 2.454 MB / 0.6417 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.5345, allocations: 6.736 MB / 0.6483 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.5345, allocations: 51.66 kB / 0.6483 GB, free: 3.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.819e-06/0.5346, allocations: 0 / 0.6483 GB, free: 3.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.049/0.5836, allocations: 19.41 MB / 0.6673 GB, free: 164 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.5837, allocations: 223.2 kB / 0.6675 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/0.5946, allocations: 5.921 MB / 0.6733 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004693/0.5951, allocations: 53.7 kB / 0.6733 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003116/0.5982, allocations: 4.067 MB / 0.6773 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/0.5993, allocations: 0.7736 MB / 0.6781 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/0.6022, allocations: 1.534 MB / 0.6796 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.6023, allocations: 309 kB / 0.6799 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/0.6063, allocations: 2.634 MB / 0.6824 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006803/0.6131, allocations: 7.166 MB / 0.6894 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/0.625, allocations: 10.51 MB / 0.6997 GB, free: 11.22 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/0.6252, allocations: 44 kB / 0.6997 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02071/0.6459, allocations: 10.57 MB / 0.71 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.6462, allocations: 76.03 kB / 0.7101 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/0.6465, allocations: 160 kB / 0.7103 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00352/0.65, allocations: 1.232 MB / 0.7115 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006186/0.6562, allocations: 1.719 MB / 0.7132 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.6669, allocations: 8.498 MB / 0.7215 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/0.6743, allocations: 407.3 kB / 0.7218 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/0.6759, allocations: 459.2 kB / 0.7223 GB, free: 3.957 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (918): * Single equations (assignments): 911 * 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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006118/0.6821, allocations: 2.703 MB / 0.7249 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/0.6833, allocations: 481.7 kB / 0.7254 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008205/0.6915, allocations: 4.029 MB / 0.7293 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.6915, allocations: 7.969 kB / 0.7293 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.547e-06/0.6916, allocations: 3.984 kB / 0.7293 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/0.6943, allocations: 0.8382 MB / 0.7301 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/0.6958, allocations: 32 kB / 0.7302 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/0.6985, allocations: 111.8 kB / 0.7303 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.6988, allocations: 137 kB / 0.7304 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008235/0.7071, allocations: 4.51 MB / 0.7348 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007851/0.715, allocations: 5.929 MB / 0.7406 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002017/0.717, allocations: 1.496 MB / 0.7421 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007286/0.7243, allocations: 3.754 MB / 0.7457 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of Backend: time 7.72e-07/0.7243, allocations: 0 / 0.7457 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01294/0.7373, allocations: 5.263 MB / 0.7509 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2382/0.9756, allocations: 12.09 MB / 0.7627 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.09117/1.067, allocations: 58.1 MB / 0.8194 GB, free: 170.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches