Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 191.7 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008098/0.0008097, allocations: 99.19 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3127/0.3127, allocations: 44.83 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002793, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3364, allocations: 62.96 MB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.05209/0.3885, allocations: 65.68 MB / 0.58 GB, free: 6.098 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03571/0.4243, allocations: 13.74 MB / 0.5934 GB, free: 9.762 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01485/0.4392, allocations: 311.2 kB / 0.5937 GB, free: 9.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.4504, allocations: 3.475 MB / 0.5971 GB, free: 6.055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02898/0.4794, allocations: 10.22 MB / 0.6071 GB, free: 11.8 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004857/0.4843, allocations: 0.8348 MB / 0.6079 GB, free: 10.96 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.07497/0.5593, allocations: 62.11 MB / 0.6686 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009136/0.5684, allocations: 5.903 MB / 0.6743 GB, free: 6.766 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.5718, allocations: 1.6 MB / 0.6759 GB, free: 5.16 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/0.5758, allocations: 2.461 MB / 0.6783 GB, free: 2.691 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.5771, allocations: 172 kB / 0.6785 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.5803, allocations: 1.279 MB / 0.6797 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2744/0.8548, allocations: 2.189 MB / 0.6819 GB, free: 65.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006827/0.8616, allocations: 2.337 MB / 0.6841 GB, free: 65.9 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.872, allocations: 6.813 MB / 0.6908 GB, free: 65.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.872, allocations: 1.062 kB / 0.6908 GB, free: 65.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.8721, allocations: 0 / 0.6908 GB, free: 65.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004474/0.8725, allocations: 0 / 0.6908 GB, free: 65.5 MB / 490.7 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.01484/0.8874, allocations: 5.075 MB / 0.6958 GB, free: 63.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8874, allocations: 10.22 kB / 0.6958 GB, free: 63.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.9005, allocations: 2.652 MB / 0.6984 GB, free: 62.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.9118, allocations: 3.707 MB / 0.702 GB, free: 62.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004339/0.9122, allocations: 285.3 kB / 0.7022 GB, free: 62.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/0.9144, allocations: 383.9 kB / 0.7026 GB, free: 62.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02892/0.9433, allocations: 11.97 MB / 0.7143 GB, free: 59.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004802/0.9438, allocations: 54.34 kB / 0.7144 GB, free: 59.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001877/0.9457, allocations: 184.6 kB / 0.7145 GB, free: 59.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003739/0.9495, allocations: 2.263 MB / 0.7167 GB, free: 59.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.9687, allocations: 9.912 MB / 0.7264 GB, free: 57.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06658/1.035, allocations: 46.7 MB / 0.772 GB, free: 18.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.05, allocations: 3.931 MB / 0.7759 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/1.053, allocations: 2.162 MB / 0.778 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/1.065, allocations: 6.532 MB / 0.7844 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/1.065, allocations: 52.62 kB / 0.7844 GB, free: 9.555 MB / 490.7 MB Notification: Performance of pre-optimization done (n=154): time 6.563e-06/1.065, allocations: 0 / 0.7844 GB, free: 9.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=166): time 0.05607/1.121, allocations: 16.55 MB / 0.8006 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.121, allocations: 208.2 kB / 0.8008 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.132, allocations: 5.63 MB / 0.8063 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004776/1.132, allocations: 48.33 kB / 0.8063 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003352/1.136, allocations: 3.78 MB / 0.81 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.137, allocations: 0.669 MB / 0.8107 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008014/1.138, allocations: 139.1 kB / 0.8108 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006972/1.138, allocations: 0.6033 MB / 0.8114 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00424/1.143, allocations: 2.297 MB / 0.8136 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007098/1.15, allocations: 6.599 MB / 0.8201 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.161, allocations: 9.587 MB / 0.8294 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/1.161, allocations: 44 kB / 0.8295 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01863/1.18, allocations: 9.614 MB / 0.8389 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001915/1.18, allocations: 75.94 kB / 0.8389 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/1.18, allocations: 153.8 kB / 0.8391 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/1.183, allocations: 1.219 MB / 0.8403 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00496/1.188, allocations: 1.582 MB / 0.8418 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009667/1.198, allocations: 7.747 MB / 0.8494 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/1.203, allocations: 379.3 kB / 0.8497 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.205, allocations: 427.9 kB / 0.8502 GB, free: 7.309 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005625/1.21, allocations: 2.511 MB / 0.8526 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.212, allocations: 454.1 kB / 0.853 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007513/1.219, allocations: 3.434 MB / 0.8564 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/1.219, allocations: 16 kB / 0.8564 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/1.219, allocations: 9.75 kB / 0.8564 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/1.219, allocations: 3.984 kB / 0.8564 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01941/1.239, allocations: 8.298 MB / 0.8645 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/1.239, allocations: 4 kB / 0.8645 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/1.24, allocations: 296.6 kB / 0.8648 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/1.243, allocations: 0.987 MB / 0.8658 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/1.244, allocations: 36 kB / 0.8658 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008613/1.252, allocations: 7.088 MB / 0.8727 GB, free: 84 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.252, allocations: 7.625 kB / 0.8727 GB, free: 80 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009706/1.262, allocations: 5.865 MB / 0.8785 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.264, allocations: 0.5263 MB / 0.879 GB, free: 9.621 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.265, allocations: 39.14 kB / 0.879 GB, free: 9.586 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.268, allocations: 88.72 kB / 0.8791 GB, free: 9.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/1.268, allocations: 100.2 kB / 0.8792 GB, free: 9.406 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.268, allocations: 51.98 kB / 0.8792 GB, free: 9.355 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00876/1.277, allocations: 3.589 MB / 0.8828 GB, free: 5.789 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.41e-07/1.277, allocations: 0 / 0.8828 GB, free: 5.789 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007965/1.285, allocations: 1.187 MB / 0.8839 GB, free: 4.602 MB / 0.573 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006619/1.286, allocations: 165.7 kB / 0.8841 GB, free: 4.441 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.298, allocations: 5.585 MB / 0.8895 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.298, allocations: 8.062 kB / 0.8895 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002893/1.301, allocations: 1.606 MB / 0.8911 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007418/1.308, allocations: 0.5729 MB / 0.8917 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2669/1.575, allocations: 13.38 MB / 0.9047 GB, free: 231.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/1.586, allocations: 3.836 MB / 0.9085 GB, free: 230.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/1.588, allocations: 341.7 kB / 0.9088 GB, free: 230.7 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/1.588, allocations: 1.156 kB / 0.9088 GB, free: 230.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.1779/1.766, allocations: 113.5 MB / 1.02 GB, free: 142.8 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches