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.001589/0.001589, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.11 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 79.55 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1149, allocations: 62.45 MB / 480.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2827/0.3977, allocations: 64.71 MB / 0.5321 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02943/0.4272, allocations: 12.9 MB / 0.5447 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01452/0.4417, allocations: 283 kB / 0.545 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007181/0.449, allocations: 3.583 MB / 0.5485 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006841/0.4559, allocations: 2.032 MB / 0.5504 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.4586, allocations: 0.9451 MB / 0.5514 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008974/0.4676, allocations: 6.439 MB / 0.5576 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006503/0.4742, allocations: 4.807 MB / 0.5623 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/0.4782, allocations: 1.99 MB / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.4827, allocations: 2.921 MB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.4841, allocations: 412 kB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.4874, allocations: 1.451 MB / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002958/0.4904, allocations: 2.455 MB / 0.5713 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004095/0.4945, allocations: 2.734 MB / 0.574 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008146/0.5026, allocations: 6.849 MB / 0.5807 GB, free: 264 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.5027, allocations: 0 / 0.5807 GB, free: 264 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5027, allocations: 0 / 0.5807 GB, free: 264 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002773/0.503, allocations: 0 / 0.5807 GB, free: 264 kB / 414.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.01524/0.5182, allocations: 5.997 MB / 0.5866 GB, free: 10.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.5183, allocations: 8.031 kB / 0.5866 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.53, allocations: 2.536 MB / 0.589 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009847/0.5399, allocations: 3.668 MB / 0.5926 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/0.5403, allocations: 275.7 kB / 0.5929 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.542, allocations: 379.7 kB / 0.5933 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02914/0.5712, allocations: 11.6 MB / 0.6046 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/0.5714, allocations: 55.44 kB / 0.6046 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008649/0.5723, allocations: 179.8 kB / 0.6048 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/0.576, allocations: 2.143 MB / 0.6069 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/0.5967, allocations: 9.617 MB / 0.6163 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06275/0.6595, allocations: 45.83 MB / 0.661 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.6697, allocations: 3.921 MB / 0.6649 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/0.6727, allocations: 2.166 MB / 0.667 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01298/0.6857, allocations: 6.522 MB / 0.6734 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.6858, allocations: 51.56 kB / 0.6734 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 7.324e-06/0.6858, allocations: 0 / 0.6734 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.05122/0.7371, allocations: 16.47 MB / 0.6895 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.7373, allocations: 196.9 kB / 0.6897 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/0.7481, allocations: 5.611 MB / 0.6952 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000519/0.7487, allocations: 45.7 kB / 0.6952 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003479/0.7522, allocations: 3.697 MB / 0.6988 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.7534, allocations: 0.6675 MB / 0.6995 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004121/0.7575, allocations: 1.412 MB / 0.7008 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7577, allocations: 305.1 kB / 0.7011 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004553/0.7623, allocations: 2.317 MB / 0.7034 GB, free: 15.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009042/0.7714, allocations: 6.575 MB / 0.7098 GB, free: 7.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4517/1.223, allocations: 9.559 MB / 0.7191 GB, free: 187 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003096/1.223, allocations: 42.75 kB / 0.7192 GB, free: 187 MB / 0.545 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.03843/1.262, allocations: 9.617 MB / 0.7286 GB, free: 184.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/1.262, allocations: 73.77 kB / 0.7287 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004954/1.263, allocations: 150.8 kB / 0.7288 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007691/1.27, allocations: 1.215 MB / 0.73 GB, free: 184.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01144/1.282, allocations: 1.572 MB / 0.7315 GB, free: 184.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/1.302, allocations: 8.329 MB / 0.7397 GB, free: 179.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/1.314, allocations: 369.2 kB / 0.74 GB, free: 179.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002296/1.316, allocations: 431.1 kB / 0.7404 GB, free: 179 MB / 0.545 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.009158/1.325, allocations: 2.445 MB / 0.7428 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002202/1.327, allocations: 463.1 kB / 0.7432 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.341, allocations: 3.423 MB / 0.7466 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.448e-05/1.341, allocations: 26.64 kB / 0.7466 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-05/1.341, allocations: 7.75 kB / 0.7466 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.797e-05/1.341, allocations: 7.266 kB / 0.7466 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03357/1.375, allocations: 8.196 MB / 0.7546 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-05/1.375, allocations: 7.844 kB / 0.7546 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/1.378, allocations: 302.4 kB / 0.7549 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006166/1.384, allocations: 0.9867 MB / 0.7559 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005081/1.385, allocations: 35.91 kB / 0.7559 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/1.401, allocations: 7.677 MB / 0.7634 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/1.401, allocations: 4 kB / 0.7634 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/1.418, allocations: 5.875 MB / 0.7692 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/1.421, allocations: 0.5186 MB / 0.7697 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001988/1.423, allocations: 28 kB / 0.7697 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004392/1.427, allocations: 95.81 kB / 0.7698 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000681/1.428, allocations: 96.81 kB / 0.7699 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003719/1.428, allocations: 40 kB / 0.7699 GB, free: 159.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01168/1.44, allocations: 3.584 MB / 0.7734 GB, free: 156.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.305e-06/1.44, allocations: 4 kB / 0.7734 GB, free: 156.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01271/1.453, allocations: 1.153 MB / 0.7745 GB, free: 155.1 MB / 0.545 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.001049/1.454, allocations: 162.2 kB / 0.7747 GB, free: 154.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01659/1.471, allocations: 6.312 MB / 0.7809 GB, free: 148.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.471, allocations: 0 / 0.7809 GB, free: 148.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004068/1.475, allocations: 1.618 MB / 0.7824 GB, free: 147 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008913/1.484, allocations: 0.6051 MB / 0.783 GB, free: 146.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/1.519, allocations: 13.52 MB / 0.7962 GB, free: 132.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009365/1.529, allocations: 3.741 MB / 0.7999 GB, free: 129.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.531, allocations: 343.4 kB / 0.8002 GB, free: 128.7 MB / 0.545 GB Notification: Performance of SimCode: time 2.785e-06/1.531, allocations: 0 / 0.8002 GB, free: 128.7 MB / 0.545 GB Notification: Performance of Templates: time 0.238/1.769, allocations: 111.7 MB / 0.9093 GB, free: 17.08 MB / 0.545 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