Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3052, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01414/0.3194, allocations: 12.65 MB / 0.544 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.3307, allocations: 4.499 MB / 0.5484 GB, free: 136 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.3346, allocations: 85.09 kB / 0.5485 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006875/0.3415, allocations: 3.71 MB / 0.5521 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.3482, allocations: 2.237 MB / 0.5543 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.3507, allocations: 0.9943 MB / 0.5553 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008574/0.3593, allocations: 6.038 MB / 0.5612 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005236/0.3645, allocations: 4.544 MB / 0.5656 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.3676, allocations: 1.963 MB / 0.5675 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00353/0.3712, allocations: 2.605 MB / 0.5701 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007917/0.372, allocations: 408 kB / 0.5705 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3744, allocations: 1.436 MB / 0.5719 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002215/0.3767, allocations: 2.443 MB / 0.5742 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.3795, allocations: 2.703 MB / 0.5769 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009031/0.3885, allocations: 8.604 MB / 0.5853 GB, free: 10.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3886, allocations: 4 kB / 0.5853 GB, free: 10.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3886, allocations: 0 / 0.5853 GB, free: 10.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002439/0.3888, allocations: 0 / 0.5853 GB, free: 10.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01266/0.4015, allocations: 6.004 MB / 0.5911 GB, free: 4.496 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4015, allocations: 8.031 kB / 0.5912 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.4116, allocations: 2.54 MB / 0.5936 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008396/0.4201, allocations: 3.746 MB / 0.5973 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.4204, allocations: 279.5 kB / 0.5976 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001474/0.4219, allocations: 375.7 kB / 0.5979 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/0.4443, allocations: 11.6 MB / 0.6092 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002652/0.4446, allocations: 59.44 kB / 0.6093 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001279/0.4459, allocations: 175.8 kB / 0.6095 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003491/0.4494, allocations: 2.143 MB / 0.6116 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.4685, allocations: 9.613 MB / 0.6209 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05764/0.5262, allocations: 45.63 MB / 0.6655 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009741/0.536, allocations: 3.933 MB / 0.6694 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/0.5389, allocations: 2.158 MB / 0.6715 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.5498, allocations: 6.507 MB / 0.6778 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.5498, allocations: 55.5 kB / 0.6779 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.198e-06/0.5498, allocations: 0 / 0.6779 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04322/0.5931, allocations: 16.47 MB / 0.694 GB, free: 8.594 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.5932, allocations: 200.8 kB / 0.6941 GB, free: 8.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009435/0.6027, allocations: 5.599 MB / 0.6996 GB, free: 2.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003571/0.6031, allocations: 49.98 kB / 0.6997 GB, free: 2.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002828/0.6059, allocations: 3.701 MB / 0.7033 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008988/0.6068, allocations: 0.6715 MB / 0.7039 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002868/0.6097, allocations: 1.419 MB / 0.7053 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6098, allocations: 301.1 kB / 0.7056 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/0.6134, allocations: 2.309 MB / 0.7079 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00621/0.6196, allocations: 6.575 MB / 0.7143 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2487/0.8684, allocations: 9.561 MB / 0.7236 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.8685, allocations: 43.59 kB / 0.7237 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.01432/0.8828, allocations: 9.618 MB / 0.7331 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/0.8829, allocations: 73.56 kB / 0.7331 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.86e-05/0.883, allocations: 151.7 kB / 0.7333 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/0.8855, allocations: 1.212 MB / 0.7345 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003797/0.8893, allocations: 1.569 MB / 0.736 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006999/0.8963, allocations: 8.331 MB / 0.7441 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/0.9005, allocations: 371.2 kB / 0.7445 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005512/0.901, allocations: 423.8 kB / 0.7449 GB, free: 142.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.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 (842): * Single equations (assignments): 835 * 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.002607/0.9037, allocations: 2.458 MB / 0.7473 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/0.9042, allocations: 458.7 kB / 0.7477 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/0.9089, allocations: 3.428 MB / 0.7511 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.9089, allocations: 19.94 kB / 0.7511 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.9089, allocations: 12 kB / 0.7511 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.909, allocations: 7.969 kB / 0.7511 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.9195, allocations: 8.159 MB / 0.7591 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.9195, allocations: 7.938 kB / 0.7591 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.9207, allocations: 295.5 kB / 0.7594 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.9228, allocations: 0.9849 MB / 0.7603 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.923, allocations: 36 kB / 0.7604 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/0.9291, allocations: 7.675 MB / 0.7678 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9292, allocations: 4 kB / 0.7679 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006482/0.9357, allocations: 5.876 MB / 0.7736 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.9367, allocations: 0.5186 MB / 0.7741 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/0.9372, allocations: 31.94 kB / 0.7741 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.9385, allocations: 99.81 kB / 0.7742 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.9388, allocations: 88.88 kB / 0.7743 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.9389, allocations: 44 kB / 0.7743 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004083/0.943, allocations: 3.58 MB / 0.7778 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.51e-07/0.943, allocations: 1.969 kB / 0.7778 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00499/0.948, allocations: 1.163 MB / 0.779 GB, free: 108.4 MB / 0.5606 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.0003617/0.9483, allocations: 159.2 kB / 0.7791 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006497/0.9548, allocations: 5.594 MB / 0.7846 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.9549, allocations: 1.406 kB / 0.7846 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.9565, allocations: 1.613 MB / 0.7862 GB, free: 101 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/0.9593, allocations: 0.6136 MB / 0.7868 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.9736, allocations: 11.22 MB / 0.7977 GB, free: 89.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/0.9766, allocations: 3.745 MB / 0.8014 GB, free: 85.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.9777, allocations: 339.4 kB / 0.8017 GB, free: 85.01 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.9777, allocations: 4 kB / 0.8017 GB, free: 85.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.1059/1.084, allocations: 112.5 MB / 0.9116 GB, free: 4.516 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches