Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 109.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 187.7 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 207.6 MB / 233.7 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2577/0.2577, allocations: 44.24 MB / 330.2 MB, free: 9.547 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 75.88 kB / 468 MB, free: 3.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1474, allocations: 61.03 MB / 0.5167 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01824/0.1657, allocations: 14.33 MB / 0.5306 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.1775, allocations: 4.712 MB / 0.5352 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003469/0.1809, allocations: 107.5 kB / 0.5353 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3032/0.4841, allocations: 3.848 MB / 0.5391 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008678/0.4928, allocations: 2.488 MB / 0.5415 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.4964, allocations: 1.005 MB / 0.5425 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.5085, allocations: 6.033 MB / 0.5484 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006477/0.515, allocations: 3.404 MB / 0.5517 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.5202, allocations: 2.168 MB / 0.5538 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006675/0.5269, allocations: 3.119 MB / 0.5569 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00213/0.529, allocations: 458.8 kB / 0.5573 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004825/0.5338, allocations: 1.521 MB / 0.5588 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005204/0.5391, allocations: 2.761 MB / 0.5615 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006922/0.546, allocations: 3.027 MB / 0.5645 GB, free: 5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01721/0.5632, allocations: 9.695 MB / 0.5739 GB, free: 15.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5632, allocations: 1.094 kB / 0.5739 GB, free: 15.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5632, allocations: 0 / 0.5739 GB, free: 15.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005188/0.5637, allocations: 0 / 0.5739 GB, free: 15.12 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02582/0.5895, allocations: 6.648 MB / 0.5804 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/0.5896, allocations: 6.594 kB / 0.5804 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/0.6046, allocations: 2.698 MB / 0.5831 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.6161, allocations: 4.007 MB / 0.587 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/0.6164, allocations: 307.2 kB / 0.5873 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002043/0.6185, allocations: 409.1 kB / 0.5877 GB, free: 6.664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02998/0.6485, allocations: 13.01 MB / 0.6004 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002055/0.6487, allocations: 55.58 kB / 0.6004 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007305/0.6494, allocations: 205.7 kB / 0.6006 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004916/0.6543, allocations: 2.497 MB / 0.6031 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02707/0.6814, allocations: 10.84 MB / 0.6136 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08648/0.7679, allocations: 49.8 MB / 0.6623 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01307/0.7809, allocations: 3.941 MB / 0.6661 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004174/0.7851, allocations: 2.265 MB / 0.6683 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.017/0.8021, allocations: 6.518 MB / 0.6747 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.407e-05/0.8022, allocations: 55.59 kB / 0.6748 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=183): time 6.683e-06/0.8022, allocations: 0 / 0.6748 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=195): time 0.06474/0.8669, allocations: 19.47 MB / 0.6938 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002036/0.8671, allocations: 231.1 kB / 0.694 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/0.8789, allocations: 5.934 MB / 0.6998 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008054/0.8797, allocations: 57.7 kB / 0.6998 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00433/0.884, allocations: 4.216 MB / 0.704 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/0.8857, allocations: 0.8077 MB / 0.7047 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002785/0.8885, allocations: 1.546 MB / 0.7063 GB, free: 11.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.8886, allocations: 301.1 kB / 0.7065 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00493/0.8935, allocations: 2.638 MB / 0.7091 GB, free: 8.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009518/0.9031, allocations: 7.161 MB / 0.7161 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/0.9187, allocations: 10.5 MB / 0.7264 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/0.9189, allocations: 44 kB / 0.7264 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02492/0.9438, allocations: 10.59 MB / 0.7367 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.944, allocations: 76 kB / 0.7368 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003147/0.9444, allocations: 156 kB / 0.737 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/0.9483, allocations: 1.235 MB / 0.7382 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007376/0.9557, allocations: 1.723 MB / 0.7399 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.9687, allocations: 8.281 MB / 0.7479 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006795/0.9755, allocations: 412.8 kB / 0.7483 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/0.9772, allocations: 458.2 kB / 0.7488 GB, free: 11.55 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (918): * Single equations (assignments): 911 * 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%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007078/0.9842, allocations: 2.694 MB / 0.7514 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/0.9858, allocations: 0.4967 MB / 0.7519 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.996, allocations: 4.022 MB / 0.7558 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.425e-05/0.996, allocations: 23.44 kB / 0.7558 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.214e-05/0.9961, allocations: 8 kB / 0.7558 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-05/0.9961, allocations: 7.969 kB / 0.7559 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3089/1.305, allocations: 9.506 MB / 0.7651 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.305, allocations: 3.719 kB / 0.7651 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.307, allocations: 324.4 kB / 0.7654 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/1.31, allocations: 1.002 MB / 0.7664 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003359/1.311, allocations: 37.52 kB / 0.7665 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.321, allocations: 7.615 MB / 0.7739 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.321, allocations: 4.25 kB / 0.7739 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/1.335, allocations: 6.901 MB / 0.7806 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003651/1.338, allocations: 0.7913 MB / 0.7814 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002306/1.34, allocations: 35.05 kB / 0.7814 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004054/1.345, allocations: 121.9 kB / 0.7816 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006048/1.345, allocations: 120.6 kB / 0.7817 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/1.345, allocations: 54.42 kB / 0.7817 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01393/1.359, allocations: 3.78 MB / 0.7854 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/1.359, allocations: 0.7188 kB / 0.7854 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01161/1.371, allocations: 1.294 MB / 0.7867 GB, free: 181.4 MB / 0.5919 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 (154): * Single equations (assignments): 149 * 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.001008/1.372, allocations: 170.5 kB / 0.7868 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01305/1.385, allocations: 6.083 MB / 0.7928 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.385, allocations: 3.906 kB / 0.7928 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003116/1.388, allocations: 1.785 MB / 0.7945 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007109/1.395, allocations: 0.6216 MB / 0.7951 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.422, allocations: 12.33 MB / 0.8072 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006232/1.428, allocations: 4.128 MB / 0.8112 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005713/1.434, allocations: 2.312 MB / 0.8135 GB, free: 168.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.435, allocations: 324.7 kB / 0.8138 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.435, allocations: 0 / 0.8138 GB, free: 168.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.08976/1.525, allocations: 50.18 MB / 0.8628 GB, free: 119.1 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.460310890339315]