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.001352/0.001352, allocations: 103 kB / 17.21 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 209.7 kB / 18.14 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2508/0.2508, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 76.62 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1434, allocations: 62.44 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3656/0.5091, allocations: 64.71 MB / 0.5312 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03985/0.549, allocations: 13.01 MB / 0.5439 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01888/0.5679, allocations: 285.4 kB / 0.5442 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007641/0.5756, allocations: 3.716 MB / 0.5478 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007835/0.5835, allocations: 2.047 MB / 0.5498 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.5863, allocations: 0.9219 MB / 0.5507 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.5985, allocations: 8.674 MB / 0.5592 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007325/0.6059, allocations: 4.501 MB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00394/0.6099, allocations: 1.744 MB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004899/0.6148, allocations: 2.808 MB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.6158, allocations: 288 kB / 0.5683 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.6189, allocations: 1.412 MB / 0.5697 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002461/0.6213, allocations: 2.334 MB / 0.572 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003411/0.6248, allocations: 2.598 MB / 0.5745 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009286/0.6341, allocations: 8.267 MB / 0.5826 GB, free: 13.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.6341, allocations: 4 kB / 0.5826 GB, free: 13.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6341, allocations: 0 / 0.5826 GB, free: 13.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002307/0.6343, allocations: 0 / 0.5826 GB, free: 13.55 MB / 430.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.01466/0.649, allocations: 5.995 MB / 0.5884 GB, free: 7.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.6491, allocations: 12.02 kB / 0.5885 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.6606, allocations: 2.54 MB / 0.5909 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009143/0.6698, allocations: 3.656 MB / 0.5945 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.6702, allocations: 287.6 kB / 0.5948 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.6715, allocations: 379.6 kB / 0.5951 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.692, allocations: 11.6 MB / 0.6065 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.6922, allocations: 63.42 kB / 0.6065 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006224/0.6928, allocations: 179.8 kB / 0.6067 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003625/0.6964, allocations: 2.143 MB / 0.6088 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/0.7187, allocations: 9.616 MB / 0.6182 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06443/0.7832, allocations: 45.83 MB / 0.6629 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.7944, allocations: 3.928 MB / 0.6668 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/0.798, allocations: 2.162 MB / 0.6689 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.8115, allocations: 6.515 MB / 0.6752 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.169e-05/0.8117, allocations: 59.44 kB / 0.6753 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 8.165e-06/0.8117, allocations: 0 / 0.6753 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.05018/0.8619, allocations: 16.46 MB / 0.6914 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.8621, allocations: 200.8 kB / 0.6916 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/0.8735, allocations: 5.61 MB / 0.6971 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005216/0.8741, allocations: 45.7 kB / 0.6971 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003767/0.8778, allocations: 3.697 MB / 0.7007 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.8791, allocations: 0.6676 MB / 0.7014 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003327/0.8825, allocations: 1.415 MB / 0.7027 GB, free: 15.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8826, allocations: 301.4 kB / 0.703 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003641/0.8862, allocations: 2.317 MB / 0.7053 GB, free: 13.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006771/0.893, allocations: 6.571 MB / 0.7117 GB, free: 4.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2898/1.183, allocations: 9.567 MB / 0.721 GB, free: 185.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/1.183, allocations: 47.5 kB / 0.7211 GB, free: 185.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.02138/1.204, allocations: 9.612 MB / 0.7305 GB, free: 183 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/1.205, allocations: 73.94 kB / 0.7306 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002886/1.205, allocations: 150.7 kB / 0.7307 GB, free: 182.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/1.209, allocations: 1.213 MB / 0.7319 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006104/1.215, allocations: 1.572 MB / 0.7334 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.225, allocations: 7.751 MB / 0.741 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006799/1.232, allocations: 373.7 kB / 0.7413 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/1.234, allocations: 424.3 kB / 0.7417 GB, free: 177.9 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.004871/1.239, allocations: 2.459 MB / 0.7441 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.24, allocations: 455 kB / 0.7446 GB, free: 176.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005694/1.245, allocations: 3.435 MB / 0.7479 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/1.245, allocations: 16.5 kB / 0.748 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.245, allocations: 7.812 kB / 0.748 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.245, allocations: 7.547 kB / 0.748 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.259, allocations: 8.193 MB / 0.756 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.259, allocations: 4.562 kB / 0.756 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.26, allocations: 293.8 kB / 0.7563 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/1.263, allocations: 0.992 MB / 0.7572 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.263, allocations: 27.98 kB / 0.7572 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006605/1.27, allocations: 7.093 MB / 0.7642 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.27, allocations: 4 kB / 0.7642 GB, free: 164.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007315/1.277, allocations: 5.879 MB / 0.7699 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.278, allocations: 0.5147 MB / 0.7704 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005028/1.279, allocations: 32.03 kB / 0.7705 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.28, allocations: 95.81 kB / 0.7705 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.281, allocations: 100.1 kB / 0.7706 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.281, allocations: 51.98 kB / 0.7707 GB, free: 158.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004449/1.285, allocations: 3.58 MB / 0.7742 GB, free: 154.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/1.285, allocations: 0 / 0.7742 GB, free: 154.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00542/1.291, allocations: 1.158 MB / 0.7753 GB, free: 153.5 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.0003933/1.291, allocations: 162.2 kB / 0.7755 GB, free: 153.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007274/1.298, allocations: 5.559 MB / 0.7809 GB, free: 147.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.298, allocations: 4.062 kB / 0.7809 GB, free: 147.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/1.3, allocations: 1.619 MB / 0.7825 GB, free: 146.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/1.304, allocations: 0.5705 MB / 0.783 GB, free: 145.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.321, allocations: 13.05 MB / 0.7958 GB, free: 132.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003495/1.325, allocations: 3.768 MB / 0.7995 GB, free: 128.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005267/1.33, allocations: 2.12 MB / 0.8015 GB, free: 126.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009023/1.331, allocations: 295.4 kB / 0.8018 GB, free: 126.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.372e-06/1.331, allocations: 0 / 0.8018 GB, free: 126.3 MB / 0.545 GB Notification: Performance of Templates: time 0.07376/1.405, allocations: 43.94 MB / 0.8447 GB, free: 82.55 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches