Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 116.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 75.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3271, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01584/0.343, allocations: 14.56 MB / 0.5459 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.3544, allocations: 4.911 MB / 0.5507 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/0.358, allocations: 103.7 kB / 0.5508 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008989/0.3671, allocations: 4.743 MB / 0.5554 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007203/0.3743, allocations: 2.373 MB / 0.5577 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.3773, allocations: 1.143 MB / 0.5588 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.3874, allocations: 6.708 MB / 0.5654 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006897/0.3943, allocations: 5.755 MB / 0.571 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.3985, allocations: 2.337 MB / 0.5733 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004913/0.4034, allocations: 3.08 MB / 0.5763 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.4051, allocations: 0.5 MB / 0.5768 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003434/0.4085, allocations: 1.537 MB / 0.5783 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003252/0.4118, allocations: 2.891 MB / 0.5811 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004847/0.4167, allocations: 3.259 MB / 0.5843 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.4287, allocations: 10.21 MB / 0.5943 GB, free: 1.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4288, allocations: 4 kB / 0.5943 GB, free: 1.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4288, allocations: 0 / 0.5943 GB, free: 1.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003162/0.4291, allocations: 0 / 0.5943 GB, free: 1.352 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01773/0.4468, allocations: 7.166 MB / 0.6013 GB, free: 10.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4469, allocations: 17.11 kB / 0.6013 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.4592, allocations: 2.656 MB / 0.6039 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.47, allocations: 4.182 MB / 0.608 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004355/0.4705, allocations: 353.4 kB / 0.6083 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002191/0.4727, allocations: 471.6 kB / 0.6088 GB, free: 2.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03121/0.5039, allocations: 14.49 MB / 0.6229 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003769/0.5043, allocations: 71.36 kB / 0.623 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002007/0.5063, allocations: 223.8 kB / 0.6232 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005195/0.5116, allocations: 2.629 MB / 0.6257 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0273/0.5389, allocations: 12.37 MB / 0.6378 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07259/0.6115, allocations: 55.34 MB / 0.6919 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/0.6312, allocations: 5.793 MB / 0.6975 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007471/0.6387, allocations: 3.636 MB / 0.7011 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0164/0.6551, allocations: 8.141 MB / 0.709 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/0.6552, allocations: 64.09 kB / 0.7091 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 8.566e-06/0.6553, allocations: 4 kB / 0.7091 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=269): time 0.3521/1.007, allocations: 30.88 MB / 0.7392 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/1.008, allocations: 237.4 kB / 0.7395 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008233/1.016, allocations: 6.316 MB / 0.7456 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006984/1.017, allocations: 65.7 kB / 0.7457 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002244/1.019, allocations: 4.193 MB / 0.7498 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.02, allocations: 1.03 MB / 0.7508 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002373/1.023, allocations: 1.68 MB / 0.7524 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/1.023, allocations: 309 kB / 0.7527 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004178/1.027, allocations: 3.428 MB / 0.7561 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006413/1.033, allocations: 8.07 MB / 0.764 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/1.045, allocations: 12.37 MB / 0.776 GB, free: 117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/1.045, allocations: 47.31 kB / 0.7761 GB, free: 117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.02188/1.067, allocations: 13.34 MB / 0.7891 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/1.067, allocations: 76 kB / 0.7892 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/1.067, allocations: 160 kB / 0.7893 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005173/1.072, allocations: 2.269 MB / 0.7916 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005818/1.078, allocations: 1.856 MB / 0.7934 GB, free: 99.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/1.093, allocations: 14.37 MB / 0.8074 GB, free: 84.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00663/1.1, allocations: 483.3 kB / 0.8079 GB, free: 84.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001388/1.101, allocations: 483.9 kB / 0.8083 GB, free: 83.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (981): * Single equations (assignments): 974 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004787/1.106, allocations: 2.886 MB / 0.8111 GB, free: 80.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001492/1.107, allocations: 0.5283 MB / 0.8117 GB, free: 80.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/1.118, allocations: 6.986 MB / 0.8185 GB, free: 73.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.624e-05/1.118, allocations: 35.98 kB / 0.8185 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/1.118, allocations: 8 kB / 0.8185 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.42e-05/1.119, allocations: 15.23 kB / 0.8185 GB, free: 73.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0241/1.143, allocations: 14.25 MB / 0.8325 GB, free: 58.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/1.143, allocations: 4 kB / 0.8325 GB, free: 58.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/1.145, allocations: 439.3 kB / 0.8329 GB, free: 58.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004916/1.15, allocations: 2.042 MB / 0.8349 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005593/1.15, allocations: 51.83 kB / 0.8349 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01534/1.166, allocations: 13.76 MB / 0.8484 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.166, allocations: 0 / 0.8484 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/1.182, allocations: 11.07 MB / 0.8592 GB, free: 31.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.184, allocations: 0.6034 MB / 0.8598 GB, free: 30.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/1.185, allocations: 48 kB / 0.8598 GB, free: 30.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/1.188, allocations: 191.6 kB / 0.86 GB, free: 30.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006374/1.189, allocations: 173.6 kB / 0.8602 GB, free: 30.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/1.189, allocations: 68 kB / 0.8602 GB, free: 30.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005775/1.195, allocations: 4.057 MB / 0.8642 GB, free: 25.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.11e-07/1.195, allocations: 0 / 0.8642 GB, free: 25.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007316/1.202, allocations: 1.518 MB / 0.8657 GB, free: 24.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006046/1.203, allocations: 193.4 kB / 0.8658 GB, free: 24.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.213, allocations: 8.384 MB / 0.874 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.213, allocations: 0 / 0.874 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004815/1.218, allocations: 3.373 MB / 0.8773 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/1.223, allocations: 0.7237 MB / 0.878 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/1.245, allocations: 14.84 MB / 0.8925 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005301/1.25, allocations: 4.41 MB / 0.8968 GB, free: 8.445 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/1.252, allocations: 419.3 kB / 0.8972 GB, free: 8.035 MB / 0.5763 GB Notification: Performance of SimCode: time 1.332e-06/1.252, allocations: 0 / 0.8972 GB, free: 8.035 MB / 0.5763 GB Notification: Performance of Templates: time 0.4637/1.716, allocations: 140.1 MB / 1.034 GB, free: 133.6 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches