Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.001769/0.001769, allocations: 107.9 kB / 19.8 MB, free: 2.5 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.002113/0.002113, allocations: 192.3 kB / 22.98 MB, free: 5.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 251.6 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2321/0.2321, allocations: 44.92 MB / 351.6 MB, free: 12.25 MB / 286.1 MB " [Timeout remaining time 180] 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.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 495.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3918, allocations: 64.26 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01351/0.4053, allocations: 9.88 MB / 0.556 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.4163, allocations: 3.879 MB / 0.5598 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002725/0.419, allocations: 55.88 kB / 0.5599 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006449/0.4255, allocations: 2.831 MB / 0.5627 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00753/0.433, allocations: 1.743 MB / 0.5644 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.4353, allocations: 0.7018 MB / 0.565 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0067/0.442, allocations: 3.985 MB / 0.5689 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004724/0.4467, allocations: 2.6 MB / 0.5715 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.4498, allocations: 1.456 MB / 0.5729 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004191/0.454, allocations: 2.122 MB / 0.575 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.4555, allocations: 324 kB / 0.5753 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.4588, allocations: 1.248 MB / 0.5765 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003015/0.4618, allocations: 1.889 MB / 0.5783 GB, free: 15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004633/0.4664, allocations: 2.121 MB / 0.5804 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.4789, allocations: 7.051 MB / 0.5873 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.4789, allocations: 0 / 0.5873 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4789, allocations: 0 / 0.5873 GB, free: 5.789 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003159/0.4792, allocations: 0 / 0.5873 GB, free: 5.789 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: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.013/0.4922, allocations: 4.646 MB / 0.5918 GB, free: 1.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.4923, allocations: 12.03 kB / 0.5918 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.5083, allocations: 2.483 MB / 0.5943 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006757/0.515, allocations: 2.539 MB / 0.5967 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.5153, allocations: 222.2 kB / 0.597 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.5166, allocations: 315.9 kB / 0.5973 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.5371, allocations: 9.282 MB / 0.6063 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002067/0.5374, allocations: 39.64 kB / 0.6064 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.5384, allocations: 147.9 kB / 0.6065 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003417/0.5418, allocations: 1.845 MB / 0.6083 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01773/0.5596, allocations: 7.678 MB / 0.6158 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05479/0.6144, allocations: 34.73 MB / 0.6497 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005464/0.6198, allocations: 2.366 MB / 0.652 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.622, allocations: 1.188 MB / 0.6532 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.6225, allocations: 327.7 kB / 0.6535 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.6225, allocations: 51.12 kB / 0.6536 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.869e-06/0.6225, allocations: 0 / 0.6536 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.03042/0.653, allocations: 11.87 MB / 0.6651 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.6531, allocations: 204.5 kB / 0.6653 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005808/0.6589, allocations: 3.635 MB / 0.6689 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003643/0.6593, allocations: 49.69 kB / 0.6689 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002946/0.6622, allocations: 3.056 MB / 0.6719 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009319/0.6632, allocations: 0.5854 MB / 0.6725 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001765/0.6649, allocations: 1.131 MB / 0.6736 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.6651, allocations: 301.1 kB / 0.6739 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.6682, allocations: 1.818 MB / 0.6757 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006697/0.6749, allocations: 5.257 MB / 0.6808 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.6857, allocations: 7.609 MB / 0.6882 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/0.6858, allocations: 32 kB / 0.6883 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01471/0.7005, allocations: 7.308 MB / 0.6954 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/0.7006, allocations: 60 kB / 0.6954 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/0.7007, allocations: 120 kB / 0.6956 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.7025, allocations: 0.6798 MB / 0.6962 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004144/0.7066, allocations: 1.259 MB / 0.6975 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/0.7124, allocations: 4.34 MB / 0.7017 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/0.7166, allocations: 311.6 kB / 0.702 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007702/0.7174, allocations: 348 kB / 0.7023 GB, free: 10.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.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 (672): * Single equations (assignments): 668 * 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.003629/0.721, allocations: 2.039 MB / 0.7043 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006289/0.7216, allocations: 313.9 kB / 0.7046 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004401/0.726, allocations: 2.249 MB / 0.7068 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.7261, allocations: 23.98 kB / 0.7068 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.7261, allocations: 0 / 0.7068 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.7261, allocations: 12.34 kB / 0.7068 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.7398, allocations: 6.262 MB / 0.713 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.7398, allocations: 3.984 kB / 0.713 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/0.7412, allocations: 223.6 kB / 0.7132 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/0.7432, allocations: 0.5117 MB / 0.7137 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/0.7434, allocations: 27.98 kB / 0.7137 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006589/0.7499, allocations: 3.912 MB / 0.7175 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7499, allocations: 0 / 0.7175 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.7605, allocations: 4.411 MB / 0.7218 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.7619, allocations: 374.8 kB / 0.7222 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004668/0.7624, allocations: 27.94 kB / 0.7222 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.7635, allocations: 91.89 kB / 0.7223 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.7638, allocations: 96.5 kB / 0.7224 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.7639, allocations: 35.98 kB / 0.7224 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003656/0.7676, allocations: 2.254 MB / 0.7246 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7676, allocations: 0 / 0.7246 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004023/0.7716, allocations: 0.8905 MB / 0.7255 GB, free: 2.094 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.0003346/0.7719, allocations: 155 kB / 0.7256 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2814/1.053, allocations: 4.167 MB / 0.7297 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.053, allocations: 0.9688 kB / 0.7297 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/1.055, allocations: 1.183 MB / 0.7309 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/1.058, allocations: 418.8 kB / 0.7313 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.071, allocations: 8.462 MB / 0.7395 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/1.074, allocations: 3.16 MB / 0.7426 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003288/1.077, allocations: 1.725 MB / 0.7443 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/1.078, allocations: 216.2 kB / 0.7445 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.793e-06/1.078, allocations: 0 / 0.7445 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.04824/1.126, allocations: 29.47 MB / 0.7733 GB, free: 130.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.069956559687853]