Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008609/0.000861, allocations: 97.66 kB / 18 MB, free: 5.738 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.0009367/0.0009368, allocations: 179.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 243 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1954/0.1954, allocations: 44.24 MB / 338.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 12 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1154, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.29/0.4054, allocations: 70.6 MB / 0.5308 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03266/0.4381, allocations: 14.34 MB / 0.5448 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01719/0.4553, allocations: 316.3 kB / 0.5451 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.4574, allocations: 0.494 MB / 0.5456 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00621/0.4636, allocations: 2.125 MB / 0.5476 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.4657, allocations: 0.8176 MB / 0.5484 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009753/0.4754, allocations: 8.72 MB / 0.557 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009838/0.4853, allocations: 6.114 MB / 0.5629 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.4892, allocations: 1.47 MB / 0.5644 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004044/0.4933, allocations: 2.484 MB / 0.5668 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.4944, allocations: 168 kB / 0.5669 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.4974, allocations: 1.314 MB / 0.5682 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002682/0.5001, allocations: 2.232 MB / 0.5704 GB, free: 468 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.5035, allocations: 2.482 MB / 0.5728 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007598/0.5111, allocations: 6.823 MB / 0.5795 GB, free: 7.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.5112, allocations: 4 kB / 0.5795 GB, free: 7.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.758e-06/0.5112, allocations: 4 kB / 0.5795 GB, free: 7.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003387/0.5115, allocations: 0 / 0.5795 GB, free: 7.105 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01236/0.5239, allocations: 5.042 MB / 0.5844 GB, free: 1.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.524, allocations: 8.031 kB / 0.5844 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.5364, allocations: 2.657 MB / 0.587 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008422/0.5449, allocations: 3.762 MB / 0.5907 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.5452, allocations: 283.6 kB / 0.591 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.5464, allocations: 387.7 kB / 0.5913 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.5676, allocations: 12 MB / 0.6031 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/0.5678, allocations: 59.52 kB / 0.6031 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005072/0.5684, allocations: 175.8 kB / 0.6033 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003875/0.5722, allocations: 2.268 MB / 0.6055 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.5922, allocations: 9.953 MB / 0.6152 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05552/0.6478, allocations: 46.71 MB / 0.6608 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.6579, allocations: 3.933 MB / 0.6647 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.6607, allocations: 2.17 MB / 0.6668 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.672, allocations: 6.535 MB / 0.6732 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.6721, allocations: 51.56 kB / 0.6732 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=154): time 4.047e-06/0.6721, allocations: 0 / 0.6732 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=166): time 0.04702/0.7191, allocations: 16.57 MB / 0.6894 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.7193, allocations: 196.9 kB / 0.6896 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009963/0.7292, allocations: 5.672 MB / 0.6951 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003957/0.7297, allocations: 49.61 kB / 0.6952 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003702/0.7334, allocations: 3.771 MB / 0.6989 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.7348, allocations: 0.6792 MB / 0.6995 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/0.736, allocations: 0.607 MB / 0.7001 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7362, allocations: 305.1 kB / 0.7004 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/0.7404, allocations: 2.329 MB / 0.7027 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2468/0.9872, allocations: 6.613 MB / 0.7091 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.9988, allocations: 9.629 MB / 0.7185 GB, free: 176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002765/0.9991, allocations: 44.03 kB / 0.7186 GB, free: 176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.02089/1.02, allocations: 9.672 MB / 0.728 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003246/1.02, allocations: 80.22 kB / 0.7281 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003511/1.021, allocations: 148.6 kB / 0.7282 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/1.024, allocations: 1.215 MB / 0.7294 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005039/1.029, allocations: 1.584 MB / 0.731 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008622/1.038, allocations: 7.759 MB / 0.7386 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005427/1.043, allocations: 376 kB / 0.7389 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/1.045, allocations: 417.4 kB / 0.7393 GB, free: 167.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (848): * Single equations (assignments): 841 * 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%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004804/1.049, allocations: 2.523 MB / 0.7418 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009657/1.05, allocations: 460.9 kB / 0.7422 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006378/1.057, allocations: 3.426 MB / 0.7456 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/1.057, allocations: 24.25 kB / 0.7456 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.889e-05/1.057, allocations: 4.875 kB / 0.7456 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/1.057, allocations: 8.906 kB / 0.7456 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/1.073, allocations: 8.315 MB / 0.7537 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/1.073, allocations: 0 / 0.7537 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/1.074, allocations: 295.5 kB / 0.754 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002569/1.077, allocations: 0.9873 MB / 0.755 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/1.077, allocations: 27.98 kB / 0.755 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/1.084, allocations: 7.096 MB / 0.7619 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.084, allocations: 4 kB / 0.7619 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007876/1.092, allocations: 5.881 MB / 0.7677 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.093, allocations: 0.5341 MB / 0.7682 GB, free: 144 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.094, allocations: 32.86 kB / 0.7682 GB, free: 143.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.097, allocations: 94.83 kB / 0.7683 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/1.097, allocations: 100.8 kB / 0.7684 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.097, allocations: 49.17 kB / 0.7685 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005999/1.103, allocations: 3.62 MB / 0.772 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.81e-07/1.103, allocations: 0 / 0.772 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00652/1.11, allocations: 1.184 MB / 0.7731 GB, free: 138.9 MB / 0.5294 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 (126): * Single equations (assignments): 121 * 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.000586/1.11, allocations: 172.8 kB / 0.7733 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008336/1.119, allocations: 5.576 MB / 0.7788 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.119, allocations: 4 kB / 0.7788 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/1.121, allocations: 1.618 MB / 0.7803 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006623/1.127, allocations: 0.5836 MB / 0.7809 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.149, allocations: 13.93 MB / 0.7945 GB, free: 117 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/1.153, allocations: 3.829 MB / 0.7983 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.154, allocations: 343.4 kB / 0.7986 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.61e-07/1.154, allocations: 0 / 0.7986 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.3581/1.512, allocations: 113.3 MB / 0.9092 GB, free: 170.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches