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.0008594/0.0008596, allocations: 95.77 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000974/0.0009741, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.7 MB / 247.5 MB, free: 10.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1977/0.1977, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002566, allocations: 11.98 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 63.56 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3061/0.4211, allocations: 78.57 MB / 0.5491 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03853/0.4597, allocations: 15.63 MB / 0.5644 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01815/0.4779, allocations: 353.8 kB / 0.5647 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.4805, allocations: 0.5741 MB / 0.5653 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007169/0.4877, allocations: 2.253 MB / 0.5675 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.4904, allocations: 0.9365 MB / 0.5684 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01225/0.5027, allocations: 9.702 MB / 0.5779 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/0.5149, allocations: 7.892 MB / 0.5856 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.5185, allocations: 1.673 MB / 0.5872 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004423/0.523, allocations: 2.799 MB / 0.5899 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.5241, allocations: 200 kB / 0.5901 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.5271, allocations: 1.31 MB / 0.5914 GB, free: 8.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003122/0.5302, allocations: 2.536 MB / 0.5939 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004491/0.5347, allocations: 2.835 MB / 0.5967 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009176/0.5439, allocations: 7.875 MB / 0.6044 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.544, allocations: 0 / 0.6044 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.528e-06/0.544, allocations: 0 / 0.6044 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003656/0.5444, allocations: 3.938 kB / 0.6044 GB, free: 10.95 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.01375/0.5581, allocations: 5.899 MB / 0.6101 GB, free: 4.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5582, allocations: 9.953 kB / 0.6101 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.5705, allocations: 2.711 MB / 0.6128 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/0.5786, allocations: 4.1 MB / 0.6168 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.5789, allocations: 345.6 kB / 0.6171 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/0.5802, allocations: 479.5 kB / 0.6176 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02528/0.6055, allocations: 14.52 MB / 0.6317 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/0.6058, allocations: 67.38 kB / 0.6318 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.6068, allocations: 215.8 kB / 0.632 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004645/0.6115, allocations: 2.645 MB / 0.6346 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02467/0.6362, allocations: 12.4 MB / 0.6467 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06424/0.7004, allocations: 55.63 MB / 0.701 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2482/0.9487, allocations: 5.805 MB / 0.7067 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005401/0.9542, allocations: 3.646 MB / 0.7103 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/0.9692, allocations: 8.15 MB / 0.7182 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.9693, allocations: 65.62 kB / 0.7183 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 5.57e-06/0.9693, allocations: 0 / 0.7183 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=269): time 0.07852/1.048, allocations: 30.85 MB / 0.7484 GB, free: 162 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/1.048, allocations: 235.6 kB / 0.7486 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007261/1.055, allocations: 6.325 MB / 0.7548 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000618/1.056, allocations: 66.86 kB / 0.7549 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/1.058, allocations: 4.192 MB / 0.759 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009926/1.059, allocations: 1.032 MB / 0.76 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007472/1.06, allocations: 0.7035 MB / 0.7607 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/1.06, allocations: 313 kB / 0.761 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/1.064, allocations: 3.424 MB / 0.7643 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005646/1.069, allocations: 8.074 MB / 0.7722 GB, free: 135.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.08, allocations: 12.36 MB / 0.7843 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.08, allocations: 48 kB / 0.7843 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.02116/1.101, allocations: 13.35 MB / 0.7973 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.101, allocations: 72 kB / 0.7974 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/1.102, allocations: 164 kB / 0.7976 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005539/1.107, allocations: 2.273 MB / 0.7998 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006338/1.114, allocations: 1.855 MB / 0.8016 GB, free: 103 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.128, allocations: 13.45 MB / 0.8147 GB, free: 89.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007019/1.135, allocations: 481.1 kB / 0.8152 GB, free: 88.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.137, allocations: 492.9 kB / 0.8157 GB, free: 88.35 MB / 0.5294 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.004902/1.141, allocations: 2.88 MB / 0.8185 GB, free: 85.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.143, allocations: 0.5283 MB / 0.819 GB, free: 84.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.154, allocations: 6.993 MB / 0.8258 GB, free: 77.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/1.154, allocations: 28 kB / 0.8258 GB, free: 77.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.154, allocations: 12 kB / 0.8259 GB, free: 77.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-05/1.154, allocations: 11.95 kB / 0.8259 GB, free: 77.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02305/1.177, allocations: 14.43 MB / 0.84 GB, free: 63.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/1.177, allocations: 4 kB / 0.84 GB, free: 63.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/1.179, allocations: 447.6 kB / 0.8404 GB, free: 62.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004906/1.184, allocations: 2.037 MB / 0.8424 GB, free: 60.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004234/1.185, allocations: 51.98 kB / 0.8424 GB, free: 60.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/1.199, allocations: 12.77 MB / 0.8549 GB, free: 47.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.199, allocations: 7.984 kB / 0.8549 GB, free: 47.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/1.214, allocations: 11.06 MB / 0.8657 GB, free: 36.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.216, allocations: 0.6112 MB / 0.8663 GB, free: 36.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.217, allocations: 51.44 kB / 0.8664 GB, free: 35.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.22, allocations: 191.7 kB / 0.8665 GB, free: 35.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005052/1.22, allocations: 163.1 kB / 0.8667 GB, free: 35.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/1.22, allocations: 68 kB / 0.8668 GB, free: 35.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005143/1.225, allocations: 4.061 MB / 0.8707 GB, free: 31.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.225, allocations: 0 / 0.8707 GB, free: 31.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006881/1.232, allocations: 1.527 MB / 0.8722 GB, free: 29.97 MB / 0.5294 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 {(5,17,72.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.0006604/1.233, allocations: 186.9 kB / 0.8724 GB, free: 29.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.244, allocations: 8.344 MB / 0.8805 GB, free: 21.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.244, allocations: 1.062 kB / 0.8805 GB, free: 21.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005312/1.249, allocations: 3.489 MB / 0.884 GB, free: 17.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007143/1.256, allocations: 0.6734 MB / 0.8846 GB, free: 17.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/1.281, allocations: 17.8 MB / 0.902 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2223/1.503, allocations: 4.408 MB / 0.9063 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/1.505, allocations: 414.8 kB / 0.9067 GB, free: 174.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.272e-06/1.505, allocations: 0 / 0.9067 GB, free: 174.3 MB / 0.545 GB Notification: Performance of Templates: time 0.164/1.669, allocations: 137.1 MB / 1.041 GB, free: 66.2 MB / 0.545 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