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.001073/0.001073, allocations: 118.9 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 71.86 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3078, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01408/0.3219, allocations: 12.65 MB / 0.544 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3324, allocations: 4.507 MB / 0.5484 GB, free: 164 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.3351, allocations: 86.03 kB / 0.5485 GB, free: 148 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007116/0.3422, allocations: 3.705 MB / 0.5521 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007989/0.3503, allocations: 2.175 MB / 0.5542 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.353, allocations: 1.002 MB / 0.5552 GB, free: 9.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009602/0.3626, allocations: 6.029 MB / 0.5611 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005987/0.3686, allocations: 4.559 MB / 0.5656 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.3718, allocations: 1.943 MB / 0.5675 GB, free: 12.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003872/0.3757, allocations: 2.613 MB / 0.57 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.377, allocations: 404 kB / 0.5704 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.3801, allocations: 1.443 MB / 0.5718 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.3829, allocations: 2.443 MB / 0.5742 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003978/0.3869, allocations: 2.703 MB / 0.5768 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009807/0.3967, allocations: 8.608 MB / 0.5852 GB, free: 10.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3968, allocations: 0 / 0.5852 GB, free: 10.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3968, allocations: 0 / 0.5852 GB, free: 10.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002814/0.3971, allocations: 0 / 0.5852 GB, free: 10.66 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.01526/0.4123, allocations: 5.993 MB / 0.5911 GB, free: 4.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4124, allocations: 12.03 kB / 0.5911 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.4239, allocations: 2.544 MB / 0.5936 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0094/0.4334, allocations: 3.734 MB / 0.5972 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.4337, allocations: 279.5 kB / 0.5975 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.4352, allocations: 383.6 kB / 0.5979 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.4565, allocations: 11.59 MB / 0.6092 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.4567, allocations: 67.36 kB / 0.6093 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001117/0.4578, allocations: 175.8 kB / 0.6094 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0036/0.4614, allocations: 2.147 MB / 0.6115 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/0.4814, allocations: 9.613 MB / 0.6209 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05674/0.5382, allocations: 45.63 MB / 0.6655 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.5483, allocations: 3.929 MB / 0.6693 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/0.5513, allocations: 2.158 MB / 0.6714 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.5623, allocations: 6.511 MB / 0.6778 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.5623, allocations: 55.5 kB / 0.6778 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 6.102e-06/0.5624, allocations: 0 / 0.6778 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04331/0.6057, allocations: 16.47 MB / 0.6939 GB, free: 8.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.6058, allocations: 196.9 kB / 0.6941 GB, free: 8.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008225/0.614, allocations: 5.607 MB / 0.6996 GB, free: 2.867 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003381/0.6144, allocations: 53.61 kB / 0.6996 GB, free: 2.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002737/0.6171, allocations: 3.701 MB / 0.7032 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000898/0.618, allocations: 0.6598 MB / 0.7039 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002061/0.6201, allocations: 1.419 MB / 0.7053 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.6202, allocations: 305.1 kB / 0.7055 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003327/0.6236, allocations: 2.309 MB / 0.7078 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005831/0.6294, allocations: 6.575 MB / 0.7142 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2664/0.8958, allocations: 9.564 MB / 0.7236 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.754e-05/0.896, allocations: 42.66 kB / 0.7236 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=902) (initialization): time 0.0145/0.9105, allocations: 9.616 MB / 0.733 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.9106, allocations: 73.19 kB / 0.7331 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/0.9107, allocations: 149.2 kB / 0.7332 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/0.9133, allocations: 1.213 MB / 0.7344 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/0.9171, allocations: 1.57 MB / 0.7359 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00765/0.9248, allocations: 8.339 MB / 0.7441 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004523/0.9293, allocations: 370.2 kB / 0.7444 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006539/0.93, allocations: 422.2 kB / 0.7448 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.004042/0.9341, allocations: 2.453 MB / 0.7472 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007894/0.9348, allocations: 458 kB / 0.7477 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005252/0.9401, allocations: 3.427 MB / 0.751 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.9401, allocations: 11.2 kB / 0.751 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.9401, allocations: 4 kB / 0.751 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007822/0.9409, allocations: 0.5077 MB / 0.7515 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004684/0.9414, allocations: 27.94 kB / 0.7515 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.9427, allocations: 99.61 kB / 0.7516 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.9429, allocations: 112.8 kB / 0.7517 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005421/0.9484, allocations: 3.884 MB / 0.7555 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004394/0.9528, allocations: 4.949 MB / 0.7604 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001144/0.9539, allocations: 1.222 MB / 0.7616 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004117/0.958, allocations: 3.56 MB / 0.765 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of Backend: time 2.2e-07/0.9581, allocations: 1.75 kB / 0.765 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00779/0.9659, allocations: 4.749 MB / 0.7697 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01333/0.9792, allocations: 11.06 MB / 0.7805 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08307/1.062, allocations: 54.04 MB / 0.8333 GB, free: 53.51 MB / 0.5606 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