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.001415/0.001415, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001333/0.001333, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2041/0.2041, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 71.88 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3827, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0135/0.3962, allocations: 12.89 MB / 0.5315 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.4063, allocations: 4.514 MB / 0.5359 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.409, allocations: 86.09 kB / 0.536 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006736/0.4157, allocations: 3.735 MB / 0.5396 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00699/0.4228, allocations: 2.253 MB / 0.5418 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.4259, allocations: 1.001 MB / 0.5428 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.4375, allocations: 6.043 MB / 0.5487 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006987/0.4445, allocations: 4.598 MB / 0.5532 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.4486, allocations: 1.99 MB / 0.5551 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004382/0.453, allocations: 2.663 MB / 0.5578 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00169/0.4547, allocations: 419.9 kB / 0.5582 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.4588, allocations: 1.455 MB / 0.5596 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003508/0.4623, allocations: 2.517 MB / 0.562 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004901/0.4672, allocations: 2.792 MB / 0.5648 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.4786, allocations: 8.892 MB / 0.5734 GB, free: 4.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4787, allocations: 0 / 0.5734 GB, free: 4.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4787, allocations: 4 kB / 0.5734 GB, free: 4.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002946/0.479, allocations: 0 / 0.5734 GB, free: 4.02 MB / 430.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.01458/0.4936, allocations: 6.141 MB / 0.5794 GB, free: 13.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4936, allocations: 12.03 kB / 0.5795 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.5058, allocations: 2.595 MB / 0.582 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008853/0.5147, allocations: 3.848 MB / 0.5857 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.515, allocations: 287.7 kB / 0.586 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001564/0.5165, allocations: 383.7 kB / 0.5864 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02112/0.5377, allocations: 11.98 MB / 0.5981 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.5379, allocations: 67.41 kB / 0.5981 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005014/0.5384, allocations: 187.8 kB / 0.5983 GB, free: 9.547 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003527/0.5419, allocations: 2.26 MB / 0.6005 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.5596, allocations: 9.939 MB / 0.6102 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05248/0.6121, allocations: 46.6 MB / 0.6557 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009652/0.6218, allocations: 3.909 MB / 0.6596 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/0.6244, allocations: 2.147 MB / 0.6617 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009848/0.6343, allocations: 5.894 MB / 0.6674 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.6344, allocations: 56.05 kB / 0.6675 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 3.577e-06/0.6344, allocations: 0 / 0.6675 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04869/0.6831, allocations: 17.5 MB / 0.6846 GB, free: 15.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.6833, allocations: 226.2 kB / 0.6848 GB, free: 15.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008421/0.6917, allocations: 5.673 MB / 0.6903 GB, free: 9.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005812/0.6924, allocations: 53.64 kB / 0.6904 GB, free: 9.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002963/0.6953, allocations: 3.791 MB / 0.6941 GB, free: 5.594 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007632/0.6961, allocations: 0.6599 MB / 0.6947 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/0.6978, allocations: 1.423 MB / 0.6961 GB, free: 3.492 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.6978, allocations: 305.1 kB / 0.6964 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.7007, allocations: 2.297 MB / 0.6986 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005276/0.706, allocations: 6.6 MB / 0.7051 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009366/0.7153, allocations: 9.577 MB / 0.7144 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.07e-05/0.7155, allocations: 44 kB / 0.7145 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01684/0.7323, allocations: 9.63 MB / 0.7239 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.775e-05/0.7325, allocations: 68 kB / 0.7239 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/0.7326, allocations: 152.5 kB / 0.7241 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003055/0.7357, allocations: 1.243 MB / 0.7253 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3115/1.047, allocations: 1.563 MB / 0.7268 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/1.058, allocations: 8.474 MB / 0.7351 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006484/1.065, allocations: 361.8 kB / 0.7355 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/1.066, allocations: 427.2 kB / 0.7359 GB, free: 172.5 MB / 0.5762 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.005092/1.071, allocations: 2.523 MB / 0.7383 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.072, allocations: 461.8 kB / 0.7388 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006697/1.079, allocations: 3.397 MB / 0.7421 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/1.079, allocations: 19 kB / 0.7421 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.116e-05/1.079, allocations: 5.594 kB / 0.7421 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/1.079, allocations: 10.03 kB / 0.7421 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/1.094, allocations: 8.293 MB / 0.7502 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.094, allocations: 7.656 kB / 0.7502 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.096, allocations: 255.9 kB / 0.7505 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/1.098, allocations: 0.9986 MB / 0.7514 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.098, allocations: 29.66 kB / 0.7515 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007103/1.105, allocations: 7.802 MB / 0.7591 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.105, allocations: 7.875 kB / 0.7591 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007332/1.113, allocations: 5.858 MB / 0.7648 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.114, allocations: 0.5224 MB / 0.7653 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/1.115, allocations: 35 kB / 0.7654 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.116, allocations: 95.81 kB / 0.7655 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/1.116, allocations: 93.28 kB / 0.7655 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.116, allocations: 41.94 kB / 0.7656 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004489/1.121, allocations: 3.632 MB / 0.7691 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.121, allocations: 0 / 0.7691 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005566/1.127, allocations: 1.178 MB / 0.7703 GB, free: 155.5 MB / 0.5762 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.0003337/1.127, allocations: 162.5 kB / 0.7704 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006918/1.134, allocations: 5.581 MB / 0.7759 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.134, allocations: 0 / 0.7759 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/1.136, allocations: 1.617 MB / 0.7775 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/1.139, allocations: 0.6227 MB / 0.7781 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.155, allocations: 10.99 MB / 0.7888 GB, free: 136.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00329/1.158, allocations: 3.861 MB / 0.7926 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004083/1.162, allocations: 2.132 MB / 0.7947 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000736/1.163, allocations: 291.4 kB / 0.7949 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/1.163, allocations: 0 / 0.7949 GB, free: 130.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.06631/1.229, allocations: 41.21 MB / 0.8352 GB, free: 89.43 MB / 0.5762 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/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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches