Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 110.9 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 200.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2035/0.2035, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 87.56 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1017, allocations: 62.44 MB / 481.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01375/0.1154, allocations: 13.98 MB / 495.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008567/0.124, allocations: 4.768 MB / 0.4885 GB, free: 1.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.1255, allocations: 91.75 kB / 0.4886 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007007/0.1325, allocations: 4.478 MB / 0.493 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004996/0.1376, allocations: 2.225 MB / 0.4951 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.1398, allocations: 1.139 MB / 0.4962 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007746/0.1476, allocations: 6.401 MB / 0.5025 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1895/0.3371, allocations: 5.438 MB / 0.5078 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.3406, allocations: 2.203 MB / 0.51 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003827/0.3445, allocations: 2.977 MB / 0.5129 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.3457, allocations: 494.2 kB / 0.5133 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.3484, allocations: 1.498 MB / 0.5148 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002802/0.3512, allocations: 2.748 MB / 0.5175 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00307/0.3542, allocations: 3.107 MB / 0.5205 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008581/0.3628, allocations: 9.812 MB / 0.5301 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3629, allocations: 1 kB / 0.5301 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3629, allocations: 0 / 0.5301 GB, free: 9.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002078/0.3631, allocations: 0 / 0.5301 GB, free: 9.871 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2021 * Number of variables: 2021 Notification: Performance of Generate backend data structure: time 0.01205/0.3752, allocations: 6.797 MB / 0.5367 GB, free: 5.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3752, allocations: 11.42 kB / 0.5367 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009876/0.3851, allocations: 2.615 MB / 0.5393 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008602/0.3937, allocations: 3.919 MB / 0.5431 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.3939, allocations: 343.7 kB / 0.5435 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009852/0.3949, allocations: 450.1 kB / 0.5439 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.416, allocations: 13.99 MB / 0.5575 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.4162, allocations: 68.92 kB / 0.5576 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005068/0.4167, allocations: 217.1 kB / 0.5578 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004016/0.4207, allocations: 2.54 MB / 0.5603 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02181/0.4425, allocations: 11.99 MB / 0.572 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06343/0.506, allocations: 53.19 MB / 0.6239 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/0.5232, allocations: 6.525 MB / 0.6303 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/0.5276, allocations: 3.593 MB / 0.6338 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.5278, allocations: 36.94 kB / 0.6339 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.5279, allocations: 62.67 kB / 0.6339 GB, free: 5.742 MB / 478.1 MB Notification: Performance of pre-optimization done (n=218): time 4.609e-06/0.5279, allocations: 0 / 0.6339 GB, free: 5.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=260): time 0.08263/0.6105, allocations: 31.56 MB / 0.6648 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.6106, allocations: 208.7 kB / 0.6649 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008695/0.6194, allocations: 5.964 MB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007036/0.6201, allocations: 69.7 kB / 0.6708 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00301/0.6231, allocations: 3.98 MB / 0.6747 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.6245, allocations: 0.9891 MB / 0.6757 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002359/0.6269, allocations: 1.612 MB / 0.6773 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.627, allocations: 305.1 kB / 0.6776 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005028/0.632, allocations: 3.47 MB / 0.6809 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008723/0.6408, allocations: 7.894 MB / 0.6887 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/0.656, allocations: 12.16 MB / 0.7005 GB, free: 13.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.6561, allocations: 44 kB / 0.7006 GB, free: 13.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.02529/0.6814, allocations: 13.2 MB / 0.7135 GB, free: 360 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.6816, allocations: 72 kB / 0.7135 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001768/0.6818, allocations: 156.8 kB / 0.7137 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2132/0.895, allocations: 2.252 MB / 0.7159 GB, free: 185.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006547/0.9016, allocations: 1.807 MB / 0.7176 GB, free: 185.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/0.9194, allocations: 14.42 MB / 0.7317 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006387/0.9258, allocations: 488.4 kB / 0.7322 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/0.9269, allocations: 459.5 kB / 0.7326 GB, free: 179.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 703 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (940): * Single equations (assignments): 935 * 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 {(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.004059/0.9309, allocations: 2.769 MB / 0.7353 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000824/0.9318, allocations: 0.4996 MB / 0.7358 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.9421, allocations: 7.123 MB / 0.7428 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.584e-05/0.9422, allocations: 26.25 kB / 0.7428 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/0.9422, allocations: 11.47 kB / 0.7428 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.9422, allocations: 15.14 kB / 0.7428 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/0.964, allocations: 14.53 MB / 0.757 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.964, allocations: 0.9375 kB / 0.757 GB, free: 169.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/0.9661, allocations: 456.5 kB / 0.7575 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004534/0.9706, allocations: 2.03 MB / 0.7594 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/0.9708, allocations: 47 kB / 0.7595 GB, free: 167.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/0.9848, allocations: 13.65 MB / 0.7728 GB, free: 154.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9848, allocations: 3.938 kB / 0.7728 GB, free: 154.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/0.9988, allocations: 11.31 MB / 0.7838 GB, free: 143.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1, allocations: 0.5795 MB / 0.7844 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006832/1.001, allocations: 36 kB / 0.7844 GB, free: 142.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.003, allocations: 227.6 kB / 0.7847 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004733/1.004, allocations: 153.7 kB / 0.7848 GB, free: 142.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.004, allocations: 65.8 kB / 0.7849 GB, free: 142.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004334/1.008, allocations: 3.794 MB / 0.7886 GB, free: 138.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.008, allocations: 0 / 0.7886 GB, free: 138.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005287/1.014, allocations: 1.494 MB / 0.79 GB, free: 137.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (202): * Single equations (assignments): 197 * 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.0004171/1.014, allocations: 183.7 kB / 0.7902 GB, free: 137 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009121/1.023, allocations: 8.426 MB / 0.7984 GB, free: 128.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.023, allocations: 4 kB / 0.7984 GB, free: 128.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004489/1.028, allocations: 3.483 MB / 0.8018 GB, free: 125.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/1.031, allocations: 0.6734 MB / 0.8025 GB, free: 124.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.049, allocations: 13.8 MB / 0.816 GB, free: 110.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003797/1.053, allocations: 4.238 MB / 0.8201 GB, free: 106.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004705/1.057, allocations: 2.555 MB / 0.8226 GB, free: 103.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.059, allocations: 347.3 kB / 0.8229 GB, free: 103.5 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/1.059, allocations: 0 / 0.8229 GB, free: 103.5 MB / 0.545 GB Notification: Performance of Templates: time 0.08123/1.14, allocations: 56.85 MB / 0.8785 GB, free: 47.04 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches