Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 242.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2082/0.2082, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 65.23 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01653/0.132, allocations: 12.86 MB / 482.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009856/0.1419, allocations: 4.528 MB / 487.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.1441, allocations: 91.69 kB / 487.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007075/0.1512, allocations: 3.726 MB / 491.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005892/0.1572, allocations: 2.253 MB / 493.4 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.16, allocations: 1.006 MB / 494.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008443/0.1685, allocations: 6.037 MB / 0.4887 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006364/0.1749, allocations: 4.597 MB / 0.4932 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.1785, allocations: 1.998 MB / 0.4951 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004404/0.1829, allocations: 2.663 MB / 0.4977 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001465/0.1844, allocations: 416 kB / 0.4981 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.188, allocations: 1.455 MB / 0.4996 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003269/0.1913, allocations: 2.498 MB / 0.502 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2477/0.4389, allocations: 2.787 MB / 0.5047 GB, free: 20.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01867/0.4577, allocations: 8.613 MB / 0.5131 GB, free: 20.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4577, allocations: 0 / 0.5131 GB, free: 20.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4578, allocations: 0.875 kB / 0.5131 GB, free: 20.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004273/0.4582, allocations: 0.625 kB / 0.5131 GB, free: 20.39 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.0295/0.4877, allocations: 6.143 MB / 0.5191 GB, free: 17.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4878, allocations: 9.75 kB / 0.5191 GB, free: 17.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.5018, allocations: 2.598 MB / 0.5217 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.5125, allocations: 3.765 MB / 0.5254 GB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.5129, allocations: 290.1 kB / 0.5256 GB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/0.5152, allocations: 385 kB / 0.526 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02585/0.541, allocations: 11.99 MB / 0.5377 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003394/0.5414, allocations: 60.3 kB / 0.5378 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002005/0.5434, allocations: 179.7 kB / 0.5379 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004018/0.5475, allocations: 2.271 MB / 0.5402 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.5673, allocations: 9.936 MB / 0.5499 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06488/0.6322, allocations: 46.82 MB / 0.5956 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.6429, allocations: 3.921 MB / 0.5994 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/0.6459, allocations: 2.137 MB / 0.6015 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.6572, allocations: 5.885 MB / 0.6072 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.6573, allocations: 54.12 kB / 0.6073 GB, free: 5.926 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.559e-06/0.6573, allocations: 0 / 0.6073 GB, free: 5.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=162): time 0.05365/0.7109, allocations: 17.51 MB / 0.6244 GB, free: 4.254 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.7111, allocations: 226.2 kB / 0.6246 GB, free: 3.984 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01254/0.7237, allocations: 5.676 MB / 0.6301 GB, free: 14.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005372/0.7242, allocations: 49.7 kB / 0.6302 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003838/0.7281, allocations: 3.796 MB / 0.6339 GB, free: 10.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.7293, allocations: 0.6625 MB / 0.6345 GB, free: 9.828 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004292/0.7336, allocations: 1.423 MB / 0.6359 GB, free: 8.398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7337, allocations: 301.1 kB / 0.6362 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/0.7381, allocations: 2.304 MB / 0.6385 GB, free: 5.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00767/0.7458, allocations: 6.604 MB / 0.6449 GB, free: 13.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.7574, allocations: 9.569 MB / 0.6543 GB, free: 2.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/0.7576, allocations: 44 kB / 0.6543 GB, free: 2.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=904) (initialization): time 0.02175/0.7793, allocations: 9.634 MB / 0.6637 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.7796, allocations: 76.06 kB / 0.6638 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003157/0.7799, allocations: 152 kB / 0.6639 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/0.7838, allocations: 1.238 MB / 0.6651 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0056/0.7894, allocations: 1.571 MB / 0.6667 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.8006, allocations: 8.46 MB / 0.6749 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007667/0.8083, allocations: 377.7 kB / 0.6753 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/0.8102, allocations: 427.9 kB / 0.6757 GB, free: 12.12 MB / 0.5137 GB 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.006965/0.8172, allocations: 2.518 MB / 0.6782 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/0.8185, allocations: 454.1 kB / 0.6786 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007892/0.8264, allocations: 3.396 MB / 0.6819 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/0.8265, allocations: 18.34 kB / 0.6819 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/0.8265, allocations: 8 kB / 0.6819 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.8266, allocations: 11.91 kB / 0.682 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/0.8487, allocations: 8.312 MB / 0.6901 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.8488, allocations: 0 / 0.6901 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.8501, allocations: 259.5 kB / 0.6903 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/0.8531, allocations: 1.007 MB / 0.6913 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/0.8534, allocations: 28 kB / 0.6913 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009853/0.8633, allocations: 7.807 MB / 0.699 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.8633, allocations: 8.062 kB / 0.699 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2544/1.118, allocations: 5.858 MB / 0.7047 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.12, allocations: 0.5216 MB / 0.7052 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/1.122, allocations: 28.03 kB / 0.7052 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.125, allocations: 91.94 kB / 0.7053 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/1.126, allocations: 95.83 kB / 0.7054 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.126, allocations: 44.86 kB / 0.7054 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008546/1.134, allocations: 3.634 MB / 0.709 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.22e-07/1.134, allocations: 2.953 kB / 0.709 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009052/1.143, allocations: 1.173 MB / 0.7101 GB, free: 183.9 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.0006768/1.144, allocations: 166 kB / 0.7103 GB, free: 183.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.154, allocations: 5.96 MB / 0.7161 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.154, allocations: 0 / 0.7161 GB, free: 181.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002135/1.156, allocations: 1.619 MB / 0.7177 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/1.161, allocations: 0.6129 MB / 0.7183 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/1.183, allocations: 11.62 MB / 0.7296 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/1.188, allocations: 3.833 MB / 0.7334 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.189, allocations: 337.9 kB / 0.7337 GB, free: 174 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/1.189, allocations: 8 kB / 0.7337 GB, free: 174 MB / 0.5294 GB Notification: Performance of Templates: time 0.1285/1.317, allocations: 114.3 MB / 0.8453 GB, free: 60.94 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches