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.001321/0.001321, allocations: 113.8 kB / 17.78 MB, free: 5.266 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.00145/0.00145, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2136/0.2136, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3822, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01291/0.3951, allocations: 12.88 MB / 0.5315 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.4067, allocations: 4.517 MB / 0.5359 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003642/0.4104, allocations: 87.03 kB / 0.536 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007829/0.4183, allocations: 3.739 MB / 0.5396 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008387/0.4267, allocations: 2.246 MB / 0.5418 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.4297, allocations: 0.9998 MB / 0.5428 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.4409, allocations: 6.051 MB / 0.5487 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00576/0.4467, allocations: 4.594 MB / 0.5532 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.4506, allocations: 1.99 MB / 0.5551 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.4547, allocations: 2.66 MB / 0.5577 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.456, allocations: 416 kB / 0.5581 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.4595, allocations: 1.455 MB / 0.5596 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.4631, allocations: 2.498 MB / 0.562 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00501/0.4681, allocations: 2.796 MB / 0.5647 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.48, allocations: 8.926 MB / 0.5734 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4801, allocations: 0 / 0.5734 GB, free: 3.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.4801, allocations: 4 kB / 0.5735 GB, free: 3.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003336/0.4805, allocations: 0 / 0.5735 GB, free: 3.988 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.01639/0.4969, allocations: 6.3 MB / 0.5796 GB, free: 13.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4969, allocations: 8.031 kB / 0.5796 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.5086, allocations: 2.638 MB / 0.5822 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009397/0.518, allocations: 3.857 MB / 0.586 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.5183, allocations: 287.7 kB / 0.5862 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.5196, allocations: 379.7 kB / 0.5866 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/0.5416, allocations: 11.99 MB / 0.5983 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001806/0.5418, allocations: 63.52 kB / 0.5984 GB, free: 9.488 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004725/0.5423, allocations: 183.8 kB / 0.5985 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003539/0.5458, allocations: 2.264 MB / 0.6007 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.5656, allocations: 9.947 MB / 0.6105 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05602/0.6216, allocations: 46.69 MB / 0.6561 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009856/0.6316, allocations: 3.912 MB / 0.6599 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/0.6345, allocations: 2.143 MB / 0.662 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.6453, allocations: 5.915 MB / 0.6677 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.6454, allocations: 48.05 kB / 0.6678 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.508e-06/0.6454, allocations: 0 / 0.6678 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04474/0.6902, allocations: 17.85 MB / 0.6852 GB, free: 14.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.6904, allocations: 226.2 kB / 0.6854 GB, free: 14.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008416/0.6988, allocations: 5.693 MB / 0.691 GB, free: 8.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/0.6991, allocations: 53.64 kB / 0.691 GB, free: 8.762 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003003/0.7022, allocations: 3.931 MB / 0.6949 GB, free: 4.797 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009614/0.7031, allocations: 0.6941 MB / 0.6956 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/0.705, allocations: 1.428 MB / 0.697 GB, free: 2.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7051, allocations: 301.1 kB / 0.6972 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003241/0.7084, allocations: 2.297 MB / 0.6995 GB, free: 64 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005877/0.7143, allocations: 6.604 MB / 0.7059 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.7258, allocations: 9.578 MB / 0.7153 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/0.726, allocations: 44 kB / 0.7153 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=904) (initialization): time 0.01878/0.7447, allocations: 9.65 MB / 0.7248 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/0.7449, allocations: 76 kB / 0.7248 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.745, allocations: 152 kB / 0.725 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/0.7481, allocations: 1.242 MB / 0.7262 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3204/1.069, allocations: 1.565 MB / 0.7277 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/1.079, allocations: 8.47 MB / 0.736 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007657/1.087, allocations: 368 kB / 0.7363 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.089, allocations: 425.6 kB / 0.7367 GB, free: 173 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.007223/1.096, allocations: 2.517 MB / 0.7392 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.097, allocations: 488.4 kB / 0.7397 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006463/1.104, allocations: 3.401 MB / 0.743 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/1.104, allocations: 20.22 kB / 0.743 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/1.104, allocations: 5.75 kB / 0.743 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/1.104, allocations: 9 kB / 0.743 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.118, allocations: 8.301 MB / 0.7511 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.118, allocations: 3.812 kB / 0.7511 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.119, allocations: 252 kB / 0.7514 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002319/1.121, allocations: 1.004 MB / 0.7524 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.121, allocations: 31.75 kB / 0.7524 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007293/1.128, allocations: 7.796 MB / 0.76 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.128, allocations: 10.5 kB / 0.76 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008043/1.136, allocations: 5.891 MB / 0.7658 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/1.138, allocations: 0.5449 MB / 0.7663 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/1.139, allocations: 30.7 kB / 0.7663 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.14, allocations: 97.72 kB / 0.7664 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.141, allocations: 98.25 kB / 0.7665 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.141, allocations: 40 kB / 0.7665 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005247/1.146, allocations: 3.629 MB / 0.7701 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/1.146, allocations: 0 / 0.7701 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006959/1.153, allocations: 1.178 MB / 0.7712 GB, free: 154.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.0004408/1.153, allocations: 161.5 kB / 0.7714 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008165/1.162, allocations: 5.585 MB / 0.7768 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.162, allocations: 0 / 0.7768 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/1.163, allocations: 1.634 MB / 0.7784 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/1.168, allocations: 0.6242 MB / 0.7791 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.186, allocations: 11.16 MB / 0.79 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003114/1.189, allocations: 3.853 MB / 0.7937 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003873/1.193, allocations: 2.131 MB / 0.7958 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/1.193, allocations: 295.4 kB / 0.7961 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.193, allocations: 0 / 0.7961 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.06405/1.257, allocations: 41.26 MB / 0.8364 GB, free: 88.15 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