Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2057/0.2057, allocations: 46.11 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 80.42 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 62.45 MB / 481.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01359/0.1166, allocations: 13.65 MB / 495.1 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008973/0.1256, allocations: 4.734 MB / 499.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.1273, allocations: 91.75 kB / 499.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007373/0.1347, allocations: 4.455 MB / 0.4926 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0055/0.1402, allocations: 2.198 MB / 0.4947 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.1428, allocations: 1.146 MB / 0.4958 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008224/0.1511, allocations: 6.343 MB / 0.502 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2186/0.3697, allocations: 5.541 MB / 0.5074 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.3741, allocations: 2.227 MB / 0.5096 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005066/0.3792, allocations: 2.938 MB / 0.5125 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.3807, allocations: 496.1 kB / 0.5129 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.3841, allocations: 1.494 MB / 0.5144 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003734/0.3878, allocations: 2.685 MB / 0.517 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004838/0.3927, allocations: 3.063 MB / 0.52 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.4032, allocations: 9.697 MB / 0.5295 GB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.4032, allocations: 0 / 0.5295 GB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.4032, allocations: 1.781 kB / 0.5295 GB, free: 10.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000386/0.4036, allocations: 0.9062 kB / 0.5295 GB, free: 10.18 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: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.01668/0.4203, allocations: 6.692 MB / 0.536 GB, free: 5.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4204, allocations: 10.95 kB / 0.536 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.4312, allocations: 2.572 MB / 0.5385 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009536/0.4408, allocations: 3.883 MB / 0.5423 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.441, allocations: 334.8 kB / 0.5427 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.4426, allocations: 452.4 kB / 0.5431 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0263/0.4689, allocations: 13.99 MB / 0.5568 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/0.4692, allocations: 64.36 kB / 0.5568 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006209/0.4698, allocations: 212 kB / 0.557 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004511/0.4743, allocations: 2.537 MB / 0.5595 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02646/0.5008, allocations: 12.13 MB / 0.5713 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06767/0.5685, allocations: 51.68 MB / 0.6218 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01525/0.5838, allocations: 6.226 MB / 0.6279 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/0.5883, allocations: 3.856 MB / 0.6317 GB, free: 8.371 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02009/0.6084, allocations: 13.23 MB / 0.6446 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.6085, allocations: 63.19 kB / 0.6446 GB, free: 10.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=228): time 5.25e-06/0.6085, allocations: 0 / 0.6446 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=270): time 0.07388/0.6824, allocations: 29.42 MB / 0.6734 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.6826, allocations: 212.5 kB / 0.6736 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006995/0.6896, allocations: 4.958 MB / 0.6784 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007491/0.6903, allocations: 61.7 kB / 0.6785 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002562/0.6929, allocations: 3.802 MB / 0.6822 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001529/0.6944, allocations: 1.013 MB / 0.6832 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00216/0.6966, allocations: 1.509 MB / 0.6846 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.6967, allocations: 305.1 kB / 0.6849 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/0.7013, allocations: 3.287 MB / 0.6881 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006922/0.7082, allocations: 7.342 MB / 0.6953 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/0.7216, allocations: 11.4 MB / 0.7065 GB, free: 8.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.734e-05/0.7217, allocations: 40 kB / 0.7065 GB, free: 8.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.2502/0.9719, allocations: 12.49 MB / 0.7187 GB, free: 185.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.972, allocations: 66.89 kB / 0.7188 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/0.9723, allocations: 140.5 kB / 0.7189 GB, free: 185.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005519/0.9778, allocations: 2.25 MB / 0.7211 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006045/0.9838, allocations: 1.69 MB / 0.7227 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/1.001, allocations: 14.38 MB / 0.7368 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006614/1.008, allocations: 444.2 kB / 0.7372 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009518/1.009, allocations: 430.1 kB / 0.7376 GB, free: 178.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (888): * Single equations (assignments): 883 * 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.004413/1.013, allocations: 2.693 MB / 0.7402 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009129/1.014, allocations: 447.3 kB / 0.7407 GB, free: 177.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.025, allocations: 6.995 MB / 0.7475 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.424e-05/1.025, allocations: 30.61 kB / 0.7475 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/1.025, allocations: 14.06 kB / 0.7475 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.244e-05/1.025, allocations: 11.39 kB / 0.7476 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.049, allocations: 14.29 MB / 0.7615 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.049, allocations: 0 / 0.7615 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/1.051, allocations: 451.3 kB / 0.7619 GB, free: 166.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004589/1.056, allocations: 2.037 MB / 0.7639 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003055/1.056, allocations: 40 kB / 0.764 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/1.07, allocations: 13.65 MB / 0.7773 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.07, allocations: 0 / 0.7773 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.084, allocations: 10.98 MB / 0.788 GB, free: 140.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.086, allocations: 500 kB / 0.7885 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007187/1.086, allocations: 47.44 kB / 0.7885 GB, free: 139.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.088, allocations: 212.9 kB / 0.7887 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005024/1.089, allocations: 154.7 kB / 0.7889 GB, free: 139.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.089, allocations: 68 kB / 0.789 GB, free: 139.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004025/1.093, allocations: 3.11 MB / 0.792 GB, free: 136.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/1.093, allocations: 4 kB / 0.792 GB, free: 136.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006668/1.1, allocations: 1.437 MB / 0.7934 GB, free: 134.7 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 (212): * Single equations (assignments): 207 * 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.0005476/1.1, allocations: 193.7 kB / 0.7936 GB, free: 134.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.111, allocations: 8.044 MB / 0.8014 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.111, allocations: 0 / 0.8014 GB, free: 126.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004793/1.116, allocations: 3.42 MB / 0.8048 GB, free: 123 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.119, allocations: 0.6291 MB / 0.8054 GB, free: 122.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/1.141, allocations: 13.37 MB / 0.8185 GB, free: 109.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004202/1.145, allocations: 4.186 MB / 0.8225 GB, free: 104.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004471/1.15, allocations: 2.297 MB / 0.8248 GB, free: 102.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.151, allocations: 319.4 kB / 0.8251 GB, free: 102.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/1.151, allocations: 0 / 0.8251 GB, free: 102.2 MB / 0.545 GB Notification: Performance of Templates: time 0.08359/1.234, allocations: 54.32 MB / 0.8781 GB, free: 48.28 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches