Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 98.92 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001512, allocations: 200.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1151, allocations: 63.57 MB / 483.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2611/0.3763, allocations: 63.13 MB / 0.534 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02674/0.4031, allocations: 12.93 MB / 0.5467 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01205/0.4151, allocations: 282.1 kB / 0.5469 GB, free: 380 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.4169, allocations: 0.4894 MB / 0.5474 GB, free: 180 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005937/0.4229, allocations: 2.063 MB / 0.5494 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.425, allocations: 0.8179 MB / 0.5502 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009653/0.4346, allocations: 8.673 MB / 0.5587 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008533/0.4432, allocations: 6.299 MB / 0.5649 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.4458, allocations: 1.443 MB / 0.5663 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.4493, allocations: 2.441 MB / 0.5687 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006764/0.45, allocations: 164 kB / 0.5688 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.4525, allocations: 1.287 MB / 0.5701 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.4547, allocations: 2.166 MB / 0.5722 GB, free: 12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002915/0.4576, allocations: 2.4 MB / 0.5745 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007059/0.4647, allocations: 6.633 MB / 0.581 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.4647, allocations: 0 / 0.581 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4648, allocations: 0 / 0.581 GB, free: 2.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002507/0.465, allocations: 0 / 0.581 GB, free: 2.934 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01061/0.4756, allocations: 4.96 MB / 0.5858 GB, free: 13.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4757, allocations: 8.031 kB / 0.5859 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.4875, allocations: 2.607 MB / 0.5884 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007593/0.4952, allocations: 3.664 MB / 0.592 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.4954, allocations: 283.5 kB / 0.5922 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4966, allocations: 383.6 kB / 0.5926 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.5167, allocations: 11.63 MB / 0.604 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.5169, allocations: 59.47 kB / 0.604 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008281/0.5177, allocations: 179.8 kB / 0.6042 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003565/0.5213, allocations: 2.147 MB / 0.6063 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.5401, allocations: 9.645 MB / 0.6157 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0571/0.5973, allocations: 45.99 MB / 0.6606 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.6079, allocations: 3.911 MB / 0.6644 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/0.6112, allocations: 2.142 MB / 0.6665 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.6216, allocations: 5.87 MB / 0.6723 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.6217, allocations: 60.05 kB / 0.6723 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.779e-06/0.6217, allocations: 0 / 0.6723 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=162): time 0.04912/0.6708, allocations: 17.34 MB / 0.6893 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.671, allocations: 230.1 kB / 0.6895 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008351/0.6793, allocations: 5.611 MB / 0.695 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.6797, allocations: 53.69 kB / 0.695 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002763/0.6825, allocations: 3.713 MB / 0.6986 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009231/0.6834, allocations: 0.6521 MB / 0.6993 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009567/0.6844, allocations: 0.5993 MB / 0.6999 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6845, allocations: 309.1 kB / 0.7002 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00345/0.688, allocations: 2.293 MB / 0.7024 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2257/0.9137, allocations: 6.543 MB / 0.7088 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.9248, allocations: 9.504 MB / 0.7181 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002718/0.9251, allocations: 44.09 kB / 0.7181 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01921/0.9443, allocations: 9.588 MB / 0.7275 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003207/0.9447, allocations: 69.09 kB / 0.7275 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004151/0.9451, allocations: 151 kB / 0.7277 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003725/0.9488, allocations: 1.235 MB / 0.7289 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005221/0.9541, allocations: 1.558 MB / 0.7304 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008394/0.9625, allocations: 7.897 MB / 0.7381 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/0.9676, allocations: 369.3 kB / 0.7385 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000901/0.9686, allocations: 421.7 kB / 0.7389 GB, free: 159.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (836): * Single equations (assignments): 829 * 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 {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003958/0.9725, allocations: 2.469 MB / 0.7413 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007669/0.9733, allocations: 451.8 kB / 0.7417 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005799/0.9791, allocations: 3.393 MB / 0.745 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.9792, allocations: 18.75 kB / 0.7451 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.9792, allocations: 3.688 kB / 0.7451 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.9792, allocations: 18.97 kB / 0.7451 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.9916, allocations: 8.198 MB / 0.7531 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.9916, allocations: 4 kB / 0.7531 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.9928, allocations: 251.6 kB / 0.7533 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.9952, allocations: 1.003 MB / 0.7543 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.9954, allocations: 28 kB / 0.7543 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/1.002, allocations: 7.235 MB / 0.7614 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.002, allocations: 7.938 kB / 0.7614 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007602/1.01, allocations: 5.859 MB / 0.7671 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.011, allocations: 0.5263 MB / 0.7676 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009472/1.012, allocations: 32 kB / 0.7677 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.014, allocations: 93.59 kB / 0.7678 GB, free: 136.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/1.015, allocations: 100.8 kB / 0.7679 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/1.015, allocations: 44 kB / 0.7679 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005525/1.02, allocations: 3.592 MB / 0.7714 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.02, allocations: 3.844 kB / 0.7714 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006153/1.027, allocations: 1.15 MB / 0.7725 GB, free: 131.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (120): * Single equations (assignments): 115 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005247/1.027, allocations: 153 kB / 0.7727 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008003/1.035, allocations: 5.535 MB / 0.7781 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.035, allocations: 4.625 kB / 0.7781 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/1.037, allocations: 1.617 MB / 0.7797 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006522/1.044, allocations: 0.5764 MB / 0.7802 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.065, allocations: 13.6 MB / 0.7935 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005373/1.07, allocations: 3.744 MB / 0.7972 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.072, allocations: 339.4 kB / 0.7975 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.254e-06/1.072, allocations: 4 kB / 0.7975 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.3564/1.428, allocations: 110.6 MB / 0.9055 GB, free: 179.4 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches