Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002448/0.002448, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 215.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2459/0.2459, allocations: 46.95 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 67.91 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 66.04 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01219/0.3736, allocations: 8.422 MB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008718/0.3823, allocations: 3.637 MB / 0.5729 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.3839, allocations: 59.75 kB / 0.5729 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005418/0.3893, allocations: 2.683 MB / 0.5755 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.3941, allocations: 1.662 MB / 0.5772 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3959, allocations: 0.7213 MB / 0.5779 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005816/0.4017, allocations: 3.888 MB / 0.5817 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003783/0.4055, allocations: 2.76 MB / 0.5844 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.4082, allocations: 1.433 MB / 0.5858 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.4114, allocations: 1.935 MB / 0.5876 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007304/0.4121, allocations: 312 kB / 0.5879 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.4143, allocations: 1.088 MB / 0.589 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.4161, allocations: 1.78 MB / 0.5907 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.418, allocations: 1.495 MB / 0.5922 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007998/0.426, allocations: 6.716 MB / 0.5988 GB, free: 13.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.426, allocations: 0 / 0.5988 GB, free: 13.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.426, allocations: 0 / 0.5988 GB, free: 13.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000147/0.4261, allocations: 0 / 0.5988 GB, free: 13.42 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.00915/0.4353, allocations: 4.383 MB / 0.603 GB, free: 8.984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4353, allocations: 8.031 kB / 0.603 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/0.4522, allocations: 2.459 MB / 0.6055 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007068/0.4592, allocations: 2.409 MB / 0.6078 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.4595, allocations: 214 kB / 0.608 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009861/0.4604, allocations: 304 kB / 0.6083 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/0.4778, allocations: 8.774 MB / 0.6169 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/0.4779, allocations: 43.64 kB / 0.6169 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/0.4783, allocations: 135.9 kB / 0.617 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002887/0.4811, allocations: 1.653 MB / 0.6187 GB, free: 8.281 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/0.4958, allocations: 7.207 MB / 0.6257 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04675/0.5426, allocations: 31.25 MB / 0.6562 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/0.5476, allocations: 1.895 MB / 0.6581 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.5495, allocations: 1.18 MB / 0.6592 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.5498, allocations: 100.2 kB / 0.6593 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.5499, allocations: 47 kB / 0.6594 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.759e-06/0.5499, allocations: 0 / 0.6594 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02934/0.5792, allocations: 11.45 MB / 0.6705 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.5794, allocations: 200.5 kB / 0.6707 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004628/0.584, allocations: 3.418 MB / 0.6741 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.5842, allocations: 41.7 kB / 0.6741 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002278/0.5864, allocations: 2.969 MB / 0.677 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006323/0.5871, allocations: 0.5661 MB / 0.6776 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/0.5885, allocations: 1.111 MB / 0.6786 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5887, allocations: 313 kB / 0.6789 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/0.5917, allocations: 1.81 MB / 0.6807 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006112/0.5978, allocations: 5.229 MB / 0.6858 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.6086, allocations: 7.521 MB / 0.6932 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001275/0.6087, allocations: 36 kB / 0.6932 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01371/0.6225, allocations: 7.198 MB / 0.7002 GB, free: 124 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/0.6225, allocations: 58.19 kB / 0.7003 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/0.6227, allocations: 120 kB / 0.7004 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.6244, allocations: 0.6786 MB / 0.701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/0.6279, allocations: 1.232 MB / 0.7023 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.6337, allocations: 4.185 MB / 0.7063 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.637, allocations: 299.8 kB / 0.7066 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004825/0.6375, allocations: 336 kB / 0.7069 GB, free: 9.129 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (663): * Single equations (assignments): 659 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003097/0.6406, allocations: 1.951 MB / 0.7089 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000496/0.6411, allocations: 286.1 kB / 0.7091 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/0.6456, allocations: 2.218 MB / 0.7113 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.6456, allocations: 19.98 kB / 0.7113 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6456, allocations: 4 kB / 0.7113 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.6456, allocations: 4.359 kB / 0.7113 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.6562, allocations: 5.228 MB / 0.7164 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6562, allocations: 4 kB / 0.7164 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6572, allocations: 211.7 kB / 0.7166 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.6587, allocations: 0.5117 MB / 0.7171 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-05/0.6588, allocations: 27.98 kB / 0.7172 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005196/0.664, allocations: 3.763 MB / 0.7208 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.664, allocations: 0 / 0.7208 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007492/0.6715, allocations: 4.375 MB / 0.7251 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008797/0.6724, allocations: 258 kB / 0.7253 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/0.6727, allocations: 24 kB / 0.7254 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.6737, allocations: 79.97 kB / 0.7254 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.674, allocations: 104.5 kB / 0.7255 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6741, allocations: 35.98 kB / 0.7256 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003421/0.6776, allocations: 1.966 MB / 0.7275 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6776, allocations: 3.938 kB / 0.7275 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004246/0.6818, allocations: 0.8553 MB / 0.7283 GB, free: 3.008 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004475/0.6822, allocations: 147 kB / 0.7285 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.271/0.9532, allocations: 4.141 MB / 0.7325 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.9532, allocations: 0.625 kB / 0.7325 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/0.9553, allocations: 1.161 MB / 0.7337 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.9573, allocations: 335 kB / 0.734 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.9698, allocations: 8.11 MB / 0.7419 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002848/0.9727, allocations: 2.495 MB / 0.7443 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003258/0.9759, allocations: 1.672 MB / 0.746 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.9764, allocations: 208.9 kB / 0.7462 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.9764, allocations: 0 / 0.7462 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.04709/1.024, allocations: 27.69 MB / 0.7732 GB, free: 124.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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: 7.16345426812768]