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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.00175/0.00175, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 107.5 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3947/0.3947, allocations: 44.84 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001155, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3438, allocations: 62.02 MB / 0.5151 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.05672/0.4006, allocations: 72.38 MB / 0.5858 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03426/0.4349, allocations: 14.44 MB / 0.5999 GB, free: 2.492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0224/0.4573, allocations: 315.2 kB / 0.6002 GB, free: 2.184 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008519/0.4659, allocations: 3.717 MB / 0.6039 GB, free: 14.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00601/0.472, allocations: 2.11 MB / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.4743, allocations: 0.9283 MB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.4845, allocations: 8.892 MB / 0.6155 GB, free: 2.504 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006061/0.4906, allocations: 4.551 MB / 0.62 GB, free: 13.88 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/0.4943, allocations: 1.775 MB / 0.6217 GB, free: 12.1 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004986/0.4993, allocations: 2.858 MB / 0.6245 GB, free: 9.234 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002145/0.5015, allocations: 296 kB / 0.6248 GB, free: 8.945 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004835/0.5063, allocations: 1.404 MB / 0.6261 GB, free: 7.539 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003831/0.5102, allocations: 2.415 MB / 0.6285 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005884/0.5161, allocations: 2.683 MB / 0.6311 GB, free: 2.418 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.528, allocations: 8.524 MB / 0.6394 GB, free: 9.863 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.5281, allocations: 0 / 0.6394 GB, free: 9.863 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5281, allocations: 0 / 0.6394 GB, free: 9.863 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000305/0.5284, allocations: 0 / 0.6394 GB, free: 9.863 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01602/0.5444, allocations: 6.161 MB / 0.6455 GB, free: 3.629 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5445, allocations: 11.97 kB / 0.6455 GB, free: 3.617 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.5573, allocations: 2.599 MB / 0.648 GB, free: 1.008 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.5688, allocations: 3.711 MB / 0.6516 GB, free: 13.24 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.5691, allocations: 291.6 kB / 0.6519 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.5708, allocations: 387.7 kB / 0.6523 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/0.5942, allocations: 11.99 MB / 0.664 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.5944, allocations: 63.41 kB / 0.664 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005594/0.595, allocations: 179.8 kB / 0.6642 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003679/0.5987, allocations: 2.272 MB / 0.6664 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.6206, allocations: 9.931 MB / 0.6761 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3572/0.9779, allocations: 46.82 MB / 0.7219 GB, free: 97.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.9884, allocations: 3.91 MB / 0.7257 GB, free: 95.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.9918, allocations: 2.138 MB / 0.7278 GB, free: 94.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/1.003, allocations: 5.894 MB / 0.7335 GB, free: 91.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.003, allocations: 51.38 kB / 0.7336 GB, free: 91.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 3.927e-06/1.003, allocations: 0.9688 kB / 0.7336 GB, free: 91.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.04329/1.046, allocations: 17.5 MB / 0.7507 GB, free: 82.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.047, allocations: 228.7 kB / 0.7509 GB, free: 82.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007603/1.054, allocations: 5.675 MB / 0.7564 GB, free: 77.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004744/1.055, allocations: 53.64 kB / 0.7565 GB, free: 77.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/1.057, allocations: 3.802 MB / 0.7602 GB, free: 73.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008189/1.058, allocations: 0.6559 MB / 0.7608 GB, free: 72.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/1.059, allocations: 1.428 MB / 0.7622 GB, free: 71.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.319e-05/1.059, allocations: 309.1 kB / 0.7625 GB, free: 70.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/1.062, allocations: 2.297 MB / 0.7647 GB, free: 68.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003886/1.066, allocations: 6.596 MB / 0.7712 GB, free: 59.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007907/1.074, allocations: 9.573 MB / 0.7805 GB, free: 48.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/1.074, allocations: 48 kB / 0.7806 GB, free: 48.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01535/1.089, allocations: 9.624 MB / 0.79 GB, free: 38.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/1.089, allocations: 68 kB / 0.79 GB, free: 38.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/1.089, allocations: 152.8 kB / 0.7902 GB, free: 38.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/1.092, allocations: 1.244 MB / 0.7914 GB, free: 36.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004611/1.097, allocations: 1.571 MB / 0.7929 GB, free: 35.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/1.105, allocations: 7.896 MB / 0.8007 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/1.11, allocations: 370.2 kB / 0.801 GB, free: 26.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008826/1.111, allocations: 428 kB / 0.8014 GB, free: 26.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.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 (842): * Single equations (assignments): 835 * 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.003332/1.114, allocations: 2.514 MB / 0.8039 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007735/1.115, allocations: 458 kB / 0.8043 GB, free: 23.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005336/1.12, allocations: 3.392 MB / 0.8076 GB, free: 20.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/1.12, allocations: 17.95 kB / 0.8076 GB, free: 20.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.12, allocations: 11.98 kB / 0.8076 GB, free: 20.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.12, allocations: 7.922 kB / 0.8077 GB, free: 20.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/1.134, allocations: 8.315 MB / 0.8158 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.134, allocations: 4 kB / 0.8158 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.135, allocations: 255.6 kB / 0.816 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/1.138, allocations: 1.001 MB / 0.817 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/1.138, allocations: 39.97 kB / 0.817 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007344/1.145, allocations: 7.233 MB / 0.8241 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.145, allocations: 4 kB / 0.8241 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06239/1.208, allocations: 34.85 MB / 0.8581 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.209, allocations: 0.5187 MB / 0.8586 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005438/1.209, allocations: 39.92 kB / 0.8587 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.211, allocations: 91.94 kB / 0.8588 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/1.211, allocations: 96.75 kB / 0.8589 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/1.211, allocations: 44 kB / 0.8589 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005467/1.217, allocations: 3.632 MB / 0.8625 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.172e-06/1.217, allocations: 0 / 0.8625 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006681/1.224, allocations: 1.592 MB / 0.864 GB, free: 9.441 MB / 0.5261 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.0003997/1.224, allocations: 170.7 kB / 0.8642 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008186/1.232, allocations: 5.566 MB / 0.8696 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.232, allocations: 0 / 0.8696 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/1.234, allocations: 1.625 MB / 0.8712 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/1.238, allocations: 0.582 MB / 0.8718 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.258, allocations: 14.79 MB / 0.8862 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2636/1.522, allocations: 3.917 MB / 0.89 GB, free: 172.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006187/1.528, allocations: 2.143 MB / 0.8921 GB, free: 172.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.529, allocations: 304.8 kB / 0.8924 GB, free: 172.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.173e-06/1.529, allocations: 0 / 0.8924 GB, free: 172.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.09352/1.623, allocations: 51.64 MB / 0.9428 GB, free: 152.1 MB / 0.5417 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches