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.0009062/0.0009062, allocations: 95.94 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000928/0.000928, allocations: 200.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.000299, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 63.47 MB / 481.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3439/0.4832, allocations: 62.01 MB / 0.5307 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03821/0.5214, allocations: 14.38 MB / 0.5447 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02123/0.5427, allocations: 314 kB / 0.545 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01568/0.5584, allocations: 3.134 MB / 0.5481 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03488/0.5934, allocations: 8.968 MB / 0.5568 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.5982, allocations: 0.7754 MB / 0.5576 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.07016/0.6684, allocations: 48.6 MB / 0.6051 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008178/0.6766, allocations: 5.366 MB / 0.6103 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.6792, allocations: 1.304 MB / 0.6116 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.6816, allocations: 1.686 MB / 0.6132 GB, free: 380 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005857/0.6822, allocations: 175.9 kB / 0.6134 GB, free: 204 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.6846, allocations: 1.053 MB / 0.6144 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002039/0.6867, allocations: 2.034 MB / 0.6164 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.6879, allocations: 1.033 MB / 0.6174 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008921/0.6968, allocations: 6.936 MB / 0.6242 GB, free: 5.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6969, allocations: 0 / 0.6242 GB, free: 5.105 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6969, allocations: 4 kB / 0.6242 GB, free: 5.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003575/0.6973, allocations: 0 / 0.6242 GB, free: 5.102 MB / 462.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.01692/0.7142, allocations: 5.432 MB / 0.6295 GB, free: 15.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.7143, allocations: 16.02 kB / 0.6295 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0424/0.7567, allocations: 8.024 MB / 0.6373 GB, free: 7.539 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.767, allocations: 3.845 MB / 0.6411 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.7674, allocations: 283.3 kB / 0.6414 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.7689, allocations: 379.7 kB / 0.6417 GB, free: 2.992 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/0.7919, allocations: 11.95 MB / 0.6534 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/0.7921, allocations: 55.44 kB / 0.6534 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006046/0.7927, allocations: 187.8 kB / 0.6536 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003741/0.7965, allocations: 2.268 MB / 0.6558 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.8173, allocations: 9.771 MB / 0.6654 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4072/1.224, allocations: 46.38 MB / 0.7107 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/1.235, allocations: 3.807 MB / 0.7144 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/1.249, allocations: 6.334 MB / 0.7206 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/1.249, allocations: 49.22 kB / 0.7206 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 7.223e-06/1.25, allocations: 0 / 0.7206 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04436/1.294, allocations: 15.1 MB / 0.7354 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.294, allocations: 202.1 kB / 0.7356 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008519/1.303, allocations: 5.888 MB / 0.7413 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004528/1.303, allocations: 53.23 kB / 0.7414 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00224/1.305, allocations: 3.825 MB / 0.7451 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/1.306, allocations: 0.67 MB / 0.7458 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/1.306, allocations: 130.6 kB / 0.7459 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002742/1.307, allocations: 0.5908 MB / 0.7465 GB, free: 141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/1.309, allocations: 2.077 MB / 0.7485 GB, free: 140 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004123/1.313, allocations: 6.338 MB / 0.7547 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/1.317, allocations: 3.558 MB / 0.7581 GB, free: 130 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.646e-05/1.317, allocations: 48.03 kB / 0.7582 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01199/1.329, allocations: 8.634 MB / 0.7666 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.697e-05/1.329, allocations: 72 kB / 0.7667 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/1.33, allocations: 149.9 kB / 0.7668 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/1.331, allocations: 0.7231 MB / 0.7675 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/1.335, allocations: 1.528 MB / 0.769 GB, free: 119 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/1.341, allocations: 6.438 MB / 0.7753 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007136/1.348, allocations: 344.7 kB / 0.7756 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.35, allocations: 421.1 kB / 0.776 GB, free: 111.5 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 (810): * Single equations (assignments): 803 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005047/1.355, allocations: 2.522 MB / 0.7785 GB, free: 109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.356, allocations: 462 kB / 0.779 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004624/1.361, allocations: 2.696 MB / 0.7816 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-05/1.361, allocations: 20 kB / 0.7816 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/1.361, allocations: 4 kB / 0.7816 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/1.361, allocations: 7.984 kB / 0.7816 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02011/1.381, allocations: 7.579 MB / 0.789 GB, free: 98.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-05/1.381, allocations: 4 kB / 0.789 GB, free: 98.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.382, allocations: 295.5 kB / 0.7893 GB, free: 97.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/1.384, allocations: 493.4 kB / 0.7898 GB, free: 97.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/1.384, allocations: 31.94 kB / 0.7898 GB, free: 97.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005473/1.389, allocations: 5.803 MB / 0.7955 GB, free: 91.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.389, allocations: 4 kB / 0.7955 GB, free: 91.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007012/1.396, allocations: 5.406 MB / 0.8008 GB, free: 85.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/1.398, allocations: 0.5379 MB / 0.8013 GB, free: 85.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.4, allocations: 32.38 kB / 0.8013 GB, free: 85.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/1.402, allocations: 80.73 kB / 0.8014 GB, free: 85.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/1.403, allocations: 100.8 kB / 0.8015 GB, free: 85.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.403, allocations: 44.94 kB / 0.8015 GB, free: 84.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007114/1.41, allocations: 3.81 MB / 0.8052 GB, free: 81.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.9e-07/1.41, allocations: 0 / 0.8052 GB, free: 81.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008839/1.419, allocations: 1.144 MB / 0.8064 GB, free: 80.05 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 (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.0008086/1.419, allocations: 171.4 kB / 0.8065 GB, free: 79.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008673/1.428, allocations: 5.15 MB / 0.8116 GB, free: 74.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.428, allocations: 0 / 0.8116 GB, free: 74.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.43, allocations: 1.488 MB / 0.813 GB, free: 73.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/1.434, allocations: 0.5957 MB / 0.8136 GB, free: 72.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/1.456, allocations: 12.58 MB / 0.8259 GB, free: 60 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005988/1.462, allocations: 3.963 MB / 0.8297 GB, free: 56.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005837/1.468, allocations: 2.156 MB / 0.8319 GB, free: 53.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.469, allocations: 303.4 kB / 0.8321 GB, free: 53.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.223e-06/1.469, allocations: 0 / 0.8321 GB, free: 53.55 MB / 0.5294 GB Notification: Performance of Templates: time 0.07502/1.544, allocations: 41.89 MB / 0.873 GB, free: 11.88 MB / 0.5294 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches