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.001487/0.001487, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001747/0.001747, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.55/1.55, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2425/0.2425, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] 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.002071/0.002071, allocations: 75.88 kB / 0.4914 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1553, allocations: 65.99 MB / 0.5559 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01179/0.1671, allocations: 9.539 MB / 0.5652 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008764/0.1759, allocations: 3.851 MB / 0.5689 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.1777, allocations: 67.69 kB / 0.569 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005628/0.1833, allocations: 2.784 MB / 0.5717 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004747/0.1881, allocations: 1.65 MB / 0.5733 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1898, allocations: 0.7173 MB / 0.574 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006044/0.1959, allocations: 3.895 MB / 0.5778 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003792/0.1996, allocations: 3.054 MB / 0.5808 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.202, allocations: 1.421 MB / 0.5822 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.2048, allocations: 2.041 MB / 0.5842 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006834/0.2055, allocations: 312 kB / 0.5845 GB, free: 7.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.2081, allocations: 1.225 MB / 0.5857 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001994/0.2101, allocations: 1.796 MB / 0.5874 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.2125, allocations: 2.012 MB / 0.5894 GB, free: 2.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3061/0.5186, allocations: 6.686 MB / 0.5959 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5186, allocations: 2.031 kB / 0.5959 GB, free: 14.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5186, allocations: 0 / 0.5959 GB, free: 14.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002383/0.5189, allocations: 0 / 0.5959 GB, free: 14.65 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.01503/0.5339, allocations: 4.454 MB / 0.6003 GB, free: 12.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.534, allocations: 12.81 kB / 0.6003 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/0.5527, allocations: 2.462 MB / 0.6027 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00821/0.5609, allocations: 2.468 MB / 0.6051 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.5613, allocations: 219.1 kB / 0.6053 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.5625, allocations: 290.1 kB / 0.6056 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.5788, allocations: 8.726 MB / 0.6141 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.5789, allocations: 48.17 kB / 0.6142 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004282/0.5794, allocations: 137.5 kB / 0.6143 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/0.5822, allocations: 1.654 MB / 0.6159 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.5956, allocations: 7.211 MB / 0.623 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/0.6428, allocations: 33.48 MB / 0.6557 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005452/0.6483, allocations: 2.355 MB / 0.658 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.6502, allocations: 1.199 MB / 0.6591 GB, free: 5.285 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004578/0.6506, allocations: 324.9 kB / 0.6594 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.6507, allocations: 43.12 kB / 0.6595 GB, free: 4.867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 4.448e-06/0.6507, allocations: 4 kB / 0.6595 GB, free: 4.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.03225/0.6829, allocations: 11.65 MB / 0.6709 GB, free: 9.141 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.6831, allocations: 199.9 kB / 0.6711 GB, free: 8.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/0.689, allocations: 3.587 MB / 0.6746 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003595/0.6893, allocations: 48.14 kB / 0.6746 GB, free: 5.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002629/0.692, allocations: 2.928 MB / 0.6775 GB, free: 2.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008155/0.6928, allocations: 0.5866 MB / 0.678 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/0.6945, allocations: 1.107 MB / 0.6791 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.6946, allocations: 309.1 kB / 0.6794 GB, free: 384 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/0.6978, allocations: 1.804 MB / 0.6812 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006507/0.7043, allocations: 5.186 MB / 0.6862 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.7153, allocations: 7.517 MB / 0.6936 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/0.7154, allocations: 36 kB / 0.6936 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01609/0.7315, allocations: 7.234 MB / 0.7007 GB, free: 8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.7316, allocations: 56 kB / 0.7007 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002173/0.7318, allocations: 116.8 kB / 0.7008 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.7339, allocations: 0.6884 MB / 0.7015 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.7382, allocations: 1.232 MB / 0.7027 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.7446, allocations: 4.359 MB / 0.707 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/0.7488, allocations: 295.8 kB / 0.7073 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008973/0.7497, allocations: 335.2 kB / 0.7076 GB, free: 0.7969 MB / 0.5137 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.004393/0.7541, allocations: 1.957 MB / 0.7095 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008806/0.755, allocations: 313.9 kB / 0.7098 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/0.7605, allocations: 2.245 MB / 0.712 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.11e-05/0.7606, allocations: 23.92 kB / 0.712 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.7606, allocations: 5.969 kB / 0.712 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.7606, allocations: 3.984 kB / 0.712 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.7765, allocations: 6.116 MB / 0.718 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.7765, allocations: 0 / 0.718 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.7776, allocations: 221.4 kB / 0.7182 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.7793, allocations: 0.5041 MB / 0.7187 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.7794, allocations: 23.98 kB / 0.7187 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005586/0.785, allocations: 3.926 MB / 0.7225 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.785, allocations: 0 / 0.7225 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008614/0.7936, allocations: 4.41 MB / 0.7268 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.7947, allocations: 362.9 kB / 0.7272 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007936/0.7955, allocations: 26.62 kB / 0.7272 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.7973, allocations: 81.53 kB / 0.7273 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.7977, allocations: 108.4 kB / 0.7274 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.7978, allocations: 39.98 kB / 0.7274 GB, free: 12.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005712/0.8035, allocations: 2.221 MB / 0.7296 GB, free: 10 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8035, allocations: 0 / 0.7296 GB, free: 10 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005921/0.8094, allocations: 0.8495 MB / 0.7304 GB, free: 9.156 MB / 0.545 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.0005725/0.81, allocations: 153 kB / 0.7306 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008779/0.8188, allocations: 4.155 MB / 0.7346 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.8188, allocations: 0 / 0.7346 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.8212, allocations: 1.159 MB / 0.7358 GB, free: 3.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.8245, allocations: 382.7 kB / 0.7361 GB, free: 3.324 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.8449, allocations: 8.077 MB / 0.744 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00671/0.8516, allocations: 3.026 MB / 0.747 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005256/0.8568, allocations: 1.711 MB / 0.7487 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009404/0.8578, allocations: 215.4 kB / 0.7489 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.8578, allocations: 3.938 kB / 0.7489 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of Templates: time 0.06785/0.9256, allocations: 27.52 MB / 0.7757 GB, free: 10.89 MB / 0.5919 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.075411334633827]