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.001105/0.001105, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001122/0.001122, allocations: 199.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.364/1.364, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1308, allocations: 62.46 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.0142/0.1451, allocations: 13.65 MB / 495.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009916/0.155, allocations: 4.727 MB / 499.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.1581, allocations: 91.75 kB / 499.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008254/0.1664, allocations: 4.455 MB / 0.4926 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007158/0.1736, allocations: 2.206 MB / 0.4947 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.1766, allocations: 1.143 MB / 0.4958 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009401/0.1861, allocations: 6.346 MB / 0.502 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2673/0.4534, allocations: 5.541 MB / 0.5074 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.4583, allocations: 2.229 MB / 0.5096 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00579/0.4641, allocations: 2.933 MB / 0.5125 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.4664, allocations: 497.2 kB / 0.513 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/0.4709, allocations: 1.493 MB / 0.5144 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004564/0.4755, allocations: 2.684 MB / 0.517 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007866/0.4834, allocations: 3.063 MB / 0.52 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.4987, allocations: 9.702 MB / 0.5295 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.4987, allocations: 0 / 0.5295 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4988, allocations: 0.6875 kB / 0.5295 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005671/0.4993, allocations: 0 / 0.5295 GB, free: 10.14 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.0213/0.5206, allocations: 6.689 MB / 0.536 GB, free: 5.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.5207, allocations: 14.09 kB / 0.536 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.531, allocations: 2.567 MB / 0.5386 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008481/0.5395, allocations: 3.884 MB / 0.5423 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.5398, allocations: 337.3 kB / 0.5427 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.5414, allocations: 454.4 kB / 0.5431 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.5677, allocations: 13.99 MB / 0.5568 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.568, allocations: 59.89 kB / 0.5568 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006091/0.5686, allocations: 213.2 kB / 0.557 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004387/0.573, allocations: 2.538 MB / 0.5595 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.5977, allocations: 12.13 MB / 0.5714 GB, free: 6.832 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0705/0.6682, allocations: 51.68 MB / 0.6218 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01505/0.6833, allocations: 6.217 MB / 0.6279 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004678/0.6881, allocations: 3.862 MB / 0.6317 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02236/0.7104, allocations: 13.23 MB / 0.6446 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.7105, allocations: 60.56 kB / 0.6446 GB, free: 10.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=228): time 5.53e-06/0.7105, allocations: 0 / 0.6446 GB, free: 10.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=270): time 0.07559/0.7861, allocations: 29.42 MB / 0.6734 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.7863, allocations: 220.8 kB / 0.6736 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007226/0.7936, allocations: 4.95 MB / 0.6784 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007534/0.7943, allocations: 67.89 kB / 0.6785 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002723/0.7971, allocations: 3.794 MB / 0.6822 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/0.7986, allocations: 1.012 MB / 0.6832 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/0.8009, allocations: 1.513 MB / 0.6847 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.801, allocations: 305.1 kB / 0.6849 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004571/0.8055, allocations: 3.29 MB / 0.6882 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00763/0.8132, allocations: 7.342 MB / 0.6953 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/0.8268, allocations: 11.39 MB / 0.7065 GB, free: 8.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.8269, allocations: 40 kB / 0.7065 GB, free: 8.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.3046/1.131, allocations: 12.5 MB / 0.7187 GB, free: 184.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.132, allocations: 66.34 kB / 0.7188 GB, free: 184.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002364/1.132, allocations: 140 kB / 0.7189 GB, free: 184.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005933/1.138, allocations: 2.246 MB / 0.7211 GB, free: 184.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006755/1.145, allocations: 1.697 MB / 0.7227 GB, free: 184.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/1.165, allocations: 14.39 MB / 0.7368 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007643/1.172, allocations: 440.4 kB / 0.7372 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/1.174, allocations: 433.2 kB / 0.7376 GB, free: 178.2 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.00514/1.179, allocations: 2.689 MB / 0.7403 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009816/1.18, allocations: 443.8 kB / 0.7407 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.19, allocations: 7 MB / 0.7475 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/1.19, allocations: 28.23 kB / 0.7475 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/1.19, allocations: 10.91 kB / 0.7476 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/1.19, allocations: 16.92 kB / 0.7476 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02331/1.214, allocations: 14.3 MB / 0.7615 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.214, allocations: 4 kB / 0.7615 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/1.216, allocations: 447.3 kB / 0.762 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004529/1.22, allocations: 2.035 MB / 0.764 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003614/1.221, allocations: 44 kB / 0.764 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/1.236, allocations: 13.64 MB / 0.7773 GB, free: 150.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.236, allocations: 4 kB / 0.7773 GB, free: 150.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/1.251, allocations: 10.98 MB / 0.788 GB, free: 140 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.253, allocations: 0.492 MB / 0.7885 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.254, allocations: 49.97 kB / 0.7886 GB, free: 139.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.256, allocations: 207.7 kB / 0.7888 GB, free: 139.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005372/1.257, allocations: 149.8 kB / 0.7889 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/1.257, allocations: 64 kB / 0.789 GB, free: 139.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004195/1.261, allocations: 3.114 MB / 0.792 GB, free: 136 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.261, allocations: 0 / 0.792 GB, free: 136 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007052/1.268, allocations: 1.441 MB / 0.7934 GB, free: 134.6 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.0006228/1.269, allocations: 184.4 kB / 0.7936 GB, free: 134.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01074/1.28, allocations: 8.05 MB / 0.8015 GB, free: 126.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.28, allocations: 384 / 0.8015 GB, free: 126.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004551/1.284, allocations: 3.42 MB / 0.8048 GB, free: 122.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/1.288, allocations: 0.6416 MB / 0.8054 GB, free: 122.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.307, allocations: 13.36 MB / 0.8185 GB, free: 108.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003875/1.311, allocations: 4.186 MB / 0.8226 GB, free: 104.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004337/1.315, allocations: 2.301 MB / 0.8248 GB, free: 102.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.316, allocations: 315.4 kB / 0.8251 GB, free: 102.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.316, allocations: 4 kB / 0.8251 GB, free: 102.1 MB / 0.545 GB Notification: Performance of Templates: time 0.07993/1.396, allocations: 54.32 MB / 0.8782 GB, free: 48.15 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 cvode -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