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.0009902/0.0009902, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.5 MB, free: 10.34 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.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 77 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01238/0.1434, allocations: 12.67 MB / 494.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008787/0.1523, allocations: 4.5 MB / 498.6 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.1542, allocations: 91.75 kB / 498.7 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006484/0.1607, allocations: 3.711 MB / 0.4907 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005415/0.1662, allocations: 2.171 MB / 0.4928 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.1683, allocations: 0.9982 MB / 0.4937 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008616/0.1769, allocations: 6.043 MB / 0.4996 GB, free: 6.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005339/0.1823, allocations: 4.546 MB / 0.5041 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2165/0.3988, allocations: 1.956 MB / 0.506 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004945/0.4038, allocations: 2.612 MB / 0.5085 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.4055, allocations: 407.6 kB / 0.5089 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003535/0.409, allocations: 1.438 MB / 0.5103 GB, free: 17.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003175/0.4122, allocations: 2.423 MB / 0.5127 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003578/0.4158, allocations: 2.706 MB / 0.5153 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.4264, allocations: 8.627 MB / 0.5238 GB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4264, allocations: 0 / 0.5238 GB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4264, allocations: 3.344 kB / 0.5238 GB, free: 14.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002781/0.4267, allocations: 0 / 0.5238 GB, free: 14.27 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.01431/0.441, allocations: 6.011 MB / 0.5296 GB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4411, allocations: 10.84 kB / 0.5297 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.4521, allocations: 2.546 MB / 0.5321 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008261/0.4604, allocations: 3.75 MB / 0.5358 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.4606, allocations: 280.6 kB / 0.5361 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.4618, allocations: 374.8 kB / 0.5364 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.4799, allocations: 11.61 MB / 0.5478 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.4801, allocations: 53.02 kB / 0.5478 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004784/0.4806, allocations: 183.8 kB / 0.548 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003338/0.4839, allocations: 2.144 MB / 0.5501 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.5033, allocations: 9.622 MB / 0.5595 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05633/0.5597, allocations: 45.77 MB / 0.6042 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/0.5698, allocations: 3.917 MB / 0.608 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/0.5727, allocations: 2.127 MB / 0.6101 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.583, allocations: 5.863 MB / 0.6158 GB, free: 9.121 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.5831, allocations: 54.48 kB / 0.6159 GB, free: 9.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 4.068e-06/0.5831, allocations: 4 kB / 0.6159 GB, free: 9.059 MB / 462.1 MB Notification: Performance of matching and sorting (n=162): time 0.046/0.6291, allocations: 17.37 MB / 0.6328 GB, free: 7.523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.6293, allocations: 232.5 kB / 0.6331 GB, free: 7.254 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008214/0.6375, allocations: 5.607 MB / 0.6385 GB, free: 1.664 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.6379, allocations: 53.7 kB / 0.6386 GB, free: 1.605 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002482/0.6404, allocations: 3.715 MB / 0.6422 GB, free: 13.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008311/0.6412, allocations: 0.6549 MB / 0.6429 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.643, allocations: 1.407 MB / 0.6442 GB, free: 11.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.6431, allocations: 305.1 kB / 0.6445 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/0.6465, allocations: 2.285 MB / 0.6467 GB, free: 9.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006466/0.6529, allocations: 6.552 MB / 0.6531 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.664, allocations: 9.521 MB / 0.6624 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/0.6642, allocations: 40 kB / 0.6625 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01722/0.6814, allocations: 9.578 MB / 0.6718 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.684e-05/0.6815, allocations: 72.94 kB / 0.6719 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.6817, allocations: 152 kB / 0.672 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/0.6847, allocations: 1.238 MB / 0.6733 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/0.6892, allocations: 1.56 MB / 0.6748 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/0.6989, allocations: 8.468 MB / 0.6831 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004967/0.7039, allocations: 363.5 kB / 0.6834 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005454/0.7044, allocations: 423.1 kB / 0.6838 GB, free: 15.39 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.003907/0.7083, allocations: 2.463 MB / 0.6862 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007901/0.7091, allocations: 457.9 kB / 0.6866 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005982/0.7151, allocations: 3.392 MB / 0.69 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-05/0.7152, allocations: 19.94 kB / 0.69 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.7152, allocations: 8 kB / 0.69 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.7152, allocations: 3.984 kB / 0.69 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.7312, allocations: 8.19 MB / 0.698 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.7313, allocations: 4 kB / 0.698 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.7325, allocations: 255.9 kB / 0.6982 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002701/0.7352, allocations: 1.001 MB / 0.6992 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.7354, allocations: 27.94 kB / 0.6992 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008998/0.7444, allocations: 7.804 MB / 0.7069 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7444, allocations: 8.031 kB / 0.7069 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008714/0.7531, allocations: 5.865 MB / 0.7126 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.7549, allocations: 0.5147 MB / 0.7131 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005245/0.7554, allocations: 28 kB / 0.7131 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.757, allocations: 87.88 kB / 0.7132 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.7573, allocations: 100.8 kB / 0.7133 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.7574, allocations: 48 kB / 0.7133 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2213/0.9787, allocations: 3.59 MB / 0.7169 GB, free: 190.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.02e-07/0.9788, allocations: 0 / 0.7169 GB, free: 190.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006942/0.9857, allocations: 1.148 MB / 0.718 GB, free: 190.2 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.0004764/0.9862, allocations: 161.3 kB / 0.7181 GB, free: 190.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008363/0.9946, allocations: 5.557 MB / 0.7236 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.9946, allocations: 1.188 kB / 0.7236 GB, free: 188.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.9966, allocations: 1.62 MB / 0.7251 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.001, allocations: 0.6002 MB / 0.7257 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.016, allocations: 10.76 MB / 0.7362 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003354/1.019, allocations: 3.77 MB / 0.7399 GB, free: 181.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003928/1.023, allocations: 2.114 MB / 0.742 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/1.024, allocations: 291.8 kB / 0.7423 GB, free: 181.6 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.024, allocations: 0 / 0.7423 GB, free: 181.6 MB / 0.545 GB Notification: Performance of Templates: time 0.06162/1.086, allocations: 38.33 MB / 0.7797 GB, free: 148.3 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 -s gbode -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