Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,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.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,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.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 117.9 kB / 17.09 MB, free: 5.961 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.001149/0.00115, allocations: 198.4 kB / 18.01 MB, free: 5.047 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.385/1.385, 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.2109/0.2109, allocations: 43.52 MB / 314.8 MB, free: 452 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.001504/0.001504, allocations: 69.45 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01472/0.1205, allocations: 13.74 MB / 0.502 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009928/0.1305, allocations: 4.595 MB / 0.5065 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.1333, allocations: 91.75 kB / 0.5066 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007819/0.1412, allocations: 3.761 MB / 0.5102 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.1478, allocations: 2.369 MB / 0.5125 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.1506, allocations: 1.006 MB / 0.5135 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008902/0.1596, allocations: 5.913 MB / 0.5193 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007159/0.1668, allocations: 4.679 MB / 0.5239 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.1712, allocations: 2.087 MB / 0.5259 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004949/0.1762, allocations: 2.827 MB / 0.5287 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001919/0.1781, allocations: 447.9 kB / 0.5291 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.1819, allocations: 1.475 MB / 0.5305 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2416/0.4235, allocations: 2.629 MB / 0.5331 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007286/0.4309, allocations: 2.937 MB / 0.536 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.4471, allocations: 9.364 MB / 0.5451 GB, free: 10.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.4471, allocations: 0.6562 kB / 0.5451 GB, free: 10.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4471, allocations: 0 / 0.5451 GB, free: 10.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004551/0.4476, allocations: 4.125 kB / 0.5451 GB, free: 10.34 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0269/0.4745, allocations: 6.388 MB / 0.5514 GB, free: 7.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.4746, allocations: 17.86 kB / 0.5514 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/0.4891, allocations: 2.635 MB / 0.554 GB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.5002, allocations: 4.027 MB / 0.5579 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.5005, allocations: 298.5 kB / 0.5582 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002298/0.5028, allocations: 397.4 kB / 0.5586 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02617/0.529, allocations: 12.62 MB / 0.5709 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/0.5294, allocations: 67.05 kB / 0.5709 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001712/0.5311, allocations: 183 kB / 0.5711 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004514/0.5356, allocations: 2.403 MB / 0.5735 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/0.5599, allocations: 10.54 MB / 0.5838 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07039/0.6303, allocations: 48.6 MB / 0.6312 GB, free: 5.457 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.6423, allocations: 4.794 MB / 0.6359 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003831/0.6462, allocations: 2.435 MB / 0.6383 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/0.6611, allocations: 7.166 MB / 0.6453 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/0.6612, allocations: 51.81 kB / 0.6453 GB, free: 6.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.012e-06/0.6612, allocations: 0 / 0.6453 GB, free: 6.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05503/0.7162, allocations: 18 MB / 0.6629 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.7164, allocations: 205 kB / 0.6631 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/0.7293, allocations: 5.839 MB / 0.6688 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006445/0.73, allocations: 57.7 kB / 0.6689 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00379/0.7338, allocations: 3.942 MB / 0.6727 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001386/0.7353, allocations: 0.7679 MB / 0.6735 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004809/0.7401, allocations: 1.511 MB / 0.6749 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.7402, allocations: 301.1 kB / 0.6752 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004985/0.7452, allocations: 2.603 MB / 0.6778 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008978/0.7542, allocations: 7.038 MB / 0.6846 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/0.7681, allocations: 10.33 MB / 0.6947 GB, free: 456 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001602/0.7683, allocations: 44 kB / 0.6948 GB, free: 412 kB / 0.5294 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02275/0.791, allocations: 10.41 MB / 0.7049 GB, free: 6.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.7913, allocations: 72 kB / 0.705 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002724/0.7916, allocations: 160.2 kB / 0.7051 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003868/0.7954, allocations: 1.223 MB / 0.7063 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006246/0.8017, allocations: 1.7 MB / 0.708 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.8128, allocations: 8.357 MB / 0.7162 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006949/0.8198, allocations: 407.4 kB / 0.7165 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/0.8216, allocations: 451.5 kB / 0.717 GB, free: 9.578 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (904): * Single equations (assignments): 897 * 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,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009222/0.8308, allocations: 2.627 MB / 0.7195 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002134/0.833, allocations: 477.7 kB / 0.72 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01046/0.8435, allocations: 3.974 MB / 0.7239 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.018e-05/0.8436, allocations: 20 kB / 0.7239 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.8436, allocations: 4 kB / 0.7239 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/0.8436, allocations: 11.97 kB / 0.7239 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/0.8678, allocations: 9.273 MB / 0.733 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.8679, allocations: 4 kB / 0.733 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/0.8698, allocations: 359.4 kB / 0.7333 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.8728, allocations: 0.9848 MB / 0.7343 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003703/0.8732, allocations: 35.94 kB / 0.7343 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009412/0.8826, allocations: 7.684 MB / 0.7418 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.8827, allocations: 7.938 kB / 0.7418 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.8942, allocations: 6.739 MB / 0.7484 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002927/0.8972, allocations: 0.8344 MB / 0.7492 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/0.8987, allocations: 39.98 kB / 0.7493 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/0.9016, allocations: 111.8 kB / 0.7494 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/0.902, allocations: 117 kB / 0.7495 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/0.9022, allocations: 56.09 kB / 0.7495 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008722/0.911, allocations: 3.733 MB / 0.7532 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.91e-07/0.911, allocations: 4 kB / 0.7532 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008701/0.9197, allocations: 1.262 MB / 0.7544 GB, free: 2.805 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008533/0.9206, allocations: 165.9 kB / 0.7546 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2755/1.196, allocations: 6.232 MB / 0.7607 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.196, allocations: 3.469 kB / 0.7607 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003391/1.2, allocations: 1.885 MB / 0.7625 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005413/1.205, allocations: 0.6242 MB / 0.7631 GB, free: 193.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/1.232, allocations: 12.26 MB / 0.7751 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006797/1.239, allocations: 3.995 MB / 0.779 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/1.241, allocations: 369.7 kB / 0.7793 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.733e-06/1.241, allocations: 1.625 kB / 0.7793 GB, free: 188.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1647/1.405, allocations: 122.9 MB / 0.8993 GB, free: 75.27 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches