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.001518/0.001518, allocations: 109.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 206.8 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3569, allocations: 62.45 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01733/0.3743, allocations: 14 MB / 0.5453 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3855, allocations: 4.759 MB / 0.55 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.3884, allocations: 94.59 kB / 0.5501 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008928/0.3974, allocations: 4.47 MB / 0.5544 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006371/0.4038, allocations: 2.24 MB / 0.5566 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.4068, allocations: 1.127 MB / 0.5577 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.417, allocations: 6.405 MB / 0.564 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00777/0.4248, allocations: 5.443 MB / 0.5693 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.429, allocations: 2.216 MB / 0.5715 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00521/0.4342, allocations: 2.979 MB / 0.5744 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.4359, allocations: 492 kB / 0.5748 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.4396, allocations: 1.494 MB / 0.5763 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003829/0.4434, allocations: 2.767 MB / 0.579 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005051/0.4485, allocations: 3.111 MB / 0.582 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.4611, allocations: 9.815 MB / 0.5916 GB, free: 4.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.4612, allocations: 4 kB / 0.5916 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4612, allocations: 0 / 0.5916 GB, free: 4.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002911/0.4615, allocations: 0 / 0.5916 GB, free: 4.121 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: 2021 * Number of variables: 2021 Notification: Performance of Generate backend data structure: time 0.01975/0.4812, allocations: 6.79 MB / 0.5983 GB, free: 13.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4813, allocations: 13.11 kB / 0.5983 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.4942, allocations: 2.621 MB / 0.6008 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00985/0.5041, allocations: 3.906 MB / 0.6047 GB, free: 6.641 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.5045, allocations: 333.1 kB / 0.605 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/0.5064, allocations: 463.7 kB / 0.6054 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03288/0.5393, allocations: 13.98 MB / 0.6191 GB, free: 6.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002508/0.5396, allocations: 63.42 kB / 0.6191 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00136/0.541, allocations: 211.8 kB / 0.6193 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004792/0.5458, allocations: 2.543 MB / 0.6218 GB, free: 4.152 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/0.5709, allocations: 11.99 MB / 0.6335 GB, free: 8.152 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09429/0.6652, allocations: 53.22 MB / 0.6855 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/0.683, allocations: 6.5 MB / 0.6918 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004594/0.6877, allocations: 3.592 MB / 0.6953 GB, free: 7.285 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.6879, allocations: 41.27 kB / 0.6954 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.6879, allocations: 63.8 kB / 0.6954 GB, free: 7.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=218): time 4.809e-06/0.688, allocations: 3.938 kB / 0.6954 GB, free: 7.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=260): time 0.3589/1.047, allocations: 31.58 MB / 0.7263 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.047, allocations: 207.2 kB / 0.7265 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009743/1.057, allocations: 5.956 MB / 0.7323 GB, free: 158 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007085/1.058, allocations: 61.58 kB / 0.7324 GB, free: 158 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002166/1.06, allocations: 4 MB / 0.7363 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001139/1.061, allocations: 0.9804 MB / 0.7372 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/1.063, allocations: 1.618 MB / 0.7388 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.504e-05/1.063, allocations: 301.1 kB / 0.7391 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004089/1.067, allocations: 3.473 MB / 0.7425 GB, free: 152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/1.073, allocations: 7.881 MB / 0.7502 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.085, allocations: 12.16 MB / 0.7621 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000147/1.085, allocations: 44 kB / 0.7621 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1012) (initialization): time 0.02318/1.108, allocations: 13.21 MB / 0.775 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.108, allocations: 76.17 kB / 0.7751 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000172/1.108, allocations: 161.4 kB / 0.7752 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005305/1.114, allocations: 2.257 MB / 0.7774 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005699/1.12, allocations: 1.801 MB / 0.7792 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/1.134, allocations: 14.41 MB / 0.7933 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007055/1.142, allocations: 491.1 kB / 0.7937 GB, free: 99.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.143, allocations: 463.9 kB / 0.7942 GB, free: 99.26 MB / 0.5606 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.005308/1.149, allocations: 2.759 MB / 0.7969 GB, free: 96.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.15, allocations: 0.4936 MB / 0.7973 GB, free: 95.99 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.161, allocations: 7.131 MB / 0.8043 GB, free: 88.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-05/1.161, allocations: 35.53 kB / 0.8043 GB, free: 88.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/1.161, allocations: 8 kB / 0.8043 GB, free: 88.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.333e-05/1.161, allocations: 15.95 kB / 0.8044 GB, free: 88.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02484/1.186, allocations: 14.37 MB / 0.8184 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/1.186, allocations: 0 / 0.8184 GB, free: 74.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.188, allocations: 459.2 kB / 0.8188 GB, free: 73.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004854/1.193, allocations: 2.038 MB / 0.8208 GB, free: 71.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004802/1.193, allocations: 44 kB / 0.8209 GB, free: 71.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/1.208, allocations: 13.81 MB / 0.8343 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.208, allocations: 4 kB / 0.8343 GB, free: 57.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.223, allocations: 11.32 MB / 0.8454 GB, free: 46.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/1.225, allocations: 0.5803 MB / 0.846 GB, free: 45.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.226, allocations: 36 kB / 0.846 GB, free: 45.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/1.229, allocations: 227.6 kB / 0.8462 GB, free: 45.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005989/1.23, allocations: 149.8 kB / 0.8464 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/1.23, allocations: 69.77 kB / 0.8464 GB, free: 45.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005148/1.235, allocations: 3.79 MB / 0.8501 GB, free: 41.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.235, allocations: 4 kB / 0.8501 GB, free: 41.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006859/1.242, allocations: 1.487 MB / 0.8516 GB, free: 40.07 MB / 0.5606 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%), (5,17,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006329/1.243, allocations: 189.1 kB / 0.8518 GB, free: 39.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.254, allocations: 8.437 MB / 0.86 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/1.254, allocations: 4 kB / 0.86 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007112/1.261, allocations: 3.664 MB / 0.8636 GB, free: 27.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/1.266, allocations: 0.6593 MB / 0.8642 GB, free: 27.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/1.289, allocations: 14.35 MB / 0.8782 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00549/1.294, allocations: 4.218 MB / 0.8824 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.296, allocations: 399.4 kB / 0.8827 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/1.296, allocations: 0 / 0.8827 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of Templates: time 0.4319/1.728, allocations: 135 MB / 1.015 GB, free: 161.3 MB / 0.6231 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 -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