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.001169/0.001169, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002822/0.002822, allocations: 74.16 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.166, allocations: 62.44 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01583/0.1819, allocations: 12.67 MB / 492.7 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1937, allocations: 4.501 MB / 497.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/0.1976, allocations: 87.75 kB / 497.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.2081, allocations: 3.703 MB / 0.4892 GB, free: 228 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009457/0.2176, allocations: 2.183 MB / 0.4914 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.2218, allocations: 0.9982 MB / 0.4923 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01646/0.2383, allocations: 6.043 MB / 0.4982 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.2489, allocations: 4.561 MB / 0.5027 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005614/0.2546, allocations: 1.959 MB / 0.5046 GB, free: 392 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3245/0.5791, allocations: 2.601 MB / 0.5071 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.5809, allocations: 407.8 kB / 0.5075 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.5848, allocations: 1.439 MB / 0.5089 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003365/0.5881, allocations: 2.42 MB / 0.5113 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004605/0.5928, allocations: 2.708 MB / 0.5139 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.6054, allocations: 8.365 MB / 0.5221 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.6054, allocations: 2.094 kB / 0.5221 GB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6054, allocations: 0 / 0.5221 GB, free: 15.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003793/0.6058, allocations: 0 / 0.5221 GB, free: 15.09 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02107/0.6269, allocations: 6.018 MB / 0.528 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.6269, allocations: 9.688 kB / 0.528 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.6396, allocations: 2.543 MB / 0.5305 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.6498, allocations: 3.67 MB / 0.5341 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.6501, allocations: 280.5 kB / 0.5343 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001919/0.652, allocations: 380.2 kB / 0.5347 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02387/0.6759, allocations: 11.61 MB / 0.546 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002545/0.6762, allocations: 54.5 kB / 0.5461 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008913/0.6771, allocations: 181.8 kB / 0.5463 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00365/0.6808, allocations: 2.143 MB / 0.5484 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/0.7024, allocations: 9.617 MB / 0.5578 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07088/0.7733, allocations: 45.96 MB / 0.6026 GB, free: 6.684 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.7843, allocations: 3.926 MB / 0.6065 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00328/0.7876, allocations: 2.142 MB / 0.6086 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01379/0.8014, allocations: 5.863 MB / 0.6143 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.677e-05/0.8015, allocations: 62.38 kB / 0.6143 GB, free: 10.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 6.342e-06/0.8016, allocations: 0 / 0.6143 GB, free: 10.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=162): time 0.05616/0.8577, allocations: 17.35 MB / 0.6313 GB, free: 8.961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.8579, allocations: 229 kB / 0.6315 GB, free: 8.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00959/0.8675, allocations: 5.611 MB / 0.637 GB, free: 3.098 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004715/0.868, allocations: 56.05 kB / 0.637 GB, free: 3.039 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00261/0.8706, allocations: 3.71 MB / 0.6407 GB, free: 15.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008539/0.8715, allocations: 0.6614 MB / 0.6413 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/0.8733, allocations: 1.408 MB / 0.6427 GB, free: 13.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8734, allocations: 301.1 kB / 0.643 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003223/0.8767, allocations: 2.293 MB / 0.6452 GB, free: 10.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006006/0.8827, allocations: 6.548 MB / 0.6516 GB, free: 2.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.8932, allocations: 9.517 MB / 0.6609 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-05/0.8933, allocations: 40 kB / 0.6609 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01934/0.9126, allocations: 9.583 MB / 0.6703 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002767/0.9129, allocations: 71.94 kB / 0.6704 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003764/0.9133, allocations: 155.9 kB / 0.6705 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003848/0.9172, allocations: 1.234 MB / 0.6717 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005684/0.9229, allocations: 1.563 MB / 0.6732 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.9341, allocations: 8.465 MB / 0.6815 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007554/0.9417, allocations: 371.4 kB / 0.6819 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/0.9438, allocations: 420 kB / 0.6823 GB, free: 0.957 MB / 0.5137 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.008815/0.9526, allocations: 2.466 MB / 0.6847 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/0.9541, allocations: 454 kB / 0.6851 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007683/0.9618, allocations: 3.392 MB / 0.6884 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.366e-05/0.9619, allocations: 19.94 kB / 0.6884 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/0.9619, allocations: 8 kB / 0.6884 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.9619, allocations: 7.969 kB / 0.6885 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02264/0.9846, allocations: 8.208 MB / 0.6965 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-05/0.9846, allocations: 4 kB / 0.6965 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.986, allocations: 251.9 kB / 0.6967 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002917/0.989, allocations: 1.009 MB / 0.6977 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.9892, allocations: 28 kB / 0.6977 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.9993, allocations: 7.809 MB / 0.7054 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.9993, allocations: 4 kB / 0.7054 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.01, allocations: 5.853 MB / 0.7111 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/1.012, allocations: 0.5186 MB / 0.7116 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/1.014, allocations: 28 kB / 0.7116 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/1.016, allocations: 94.22 kB / 0.7117 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/1.017, allocations: 100.8 kB / 0.7118 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.017, allocations: 47.98 kB / 0.7118 GB, free: 2.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2779/1.295, allocations: 3.585 MB / 0.7153 GB, free: 188.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/1.295, allocations: 0 / 0.7153 GB, free: 188.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007721/1.303, allocations: 1.145 MB / 0.7165 GB, free: 188.8 MB / 0.545 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.0004954/1.303, allocations: 168.3 kB / 0.7166 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009891/1.313, allocations: 5.943 MB / 0.7224 GB, free: 188.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.313, allocations: 0 / 0.7224 GB, free: 188.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/1.315, allocations: 1.617 MB / 0.724 GB, free: 187.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/1.319, allocations: 0.5963 MB / 0.7246 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.34, allocations: 10.89 MB / 0.7352 GB, free: 182.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004511/1.344, allocations: 3.772 MB / 0.7389 GB, free: 181.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00499/1.349, allocations: 2.11 MB / 0.741 GB, free: 181 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/1.35, allocations: 292 kB / 0.7412 GB, free: 181 MB / 0.545 GB Notification: Performance of SimCode: time 1.183e-06/1.35, allocations: 0 / 0.7412 GB, free: 181 MB / 0.545 GB Notification: Performance of Templates: time 0.06902/1.419, allocations: 44.88 MB / 0.7851 GB, free: 142.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches