Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008248/0.0008248, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007973/0.0007973, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 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 0.8892/0.8892, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1308/0.1308, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.105e-05, allocations: 6.078 kB / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.008045/0.008066, allocations: 9.88 MB / 418 MB, free: 7.785 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005268/0.01333, allocations: 3.871 MB / 421.9 MB, free: 3.902 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007622/0.0141, allocations: 63.75 kB / 421.9 MB, free: 3.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.0166, allocations: 2.9 MB / 424.8 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.01879, allocations: 2.014 MB / 426.8 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.01959, allocations: 0.7638 MB / 427.6 MB, free: 14.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.02242, allocations: 4.556 MB / 432.2 MB, free: 9.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.02461, allocations: 3.291 MB / 435.5 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.02631, allocations: 2.436 MB / 437.9 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.02804, allocations: 2.373 MB / 440.3 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.02839, allocations: 376 kB / 440.6 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.02951, allocations: 1.209 MB / 441.8 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.03058, allocations: 2.189 MB / 444 MB, free: 13.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009169/0.0315, allocations: 1.379 MB / 445.4 MB, free: 12.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005049/0.03655, allocations: 8.01 MB / 453.4 MB, free: 4.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.03655, allocations: 0 / 453.4 MB, free: 4.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.03656, allocations: 3.938 kB / 453.4 MB, free: 4.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.03666, allocations: 0 / 453.4 MB, free: 4.195 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.00547/0.04213, allocations: 5.029 MB / 458.5 MB, free: 15.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.04216, allocations: 8.031 kB / 458.5 MB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007203/0.04936, allocations: 2.619 MB / 461.1 MB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.05232, allocations: 2.654 MB / 463.7 MB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.05244, allocations: 254.8 kB / 464 MB, free: 9.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.05279, allocations: 332.2 kB / 464.3 MB, free: 9.195 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1764/0.2292, allocations: 10.5 MB / 474.8 MB, free: 92.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.2293, allocations: 43.22 kB / 474.8 MB, free: 92.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004633/0.2298, allocations: 159.4 kB / 475 MB, free: 92.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001838/0.2316, allocations: 2.097 MB / 477.1 MB, free: 91.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.2424, allocations: 8.711 MB / 485.8 MB, free: 89.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.272, allocations: 35.96 MB / 0.5095 GB, free: 63.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/0.2762, allocations: 2.491 MB / 0.512 GB, free: 62.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.2781, allocations: 1.585 MB / 0.5135 GB, free: 62.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.2783, allocations: 98.78 kB / 0.5136 GB, free: 62.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2784, allocations: 57.88 kB / 0.5137 GB, free: 62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 4.148e-06/0.2784, allocations: 0 / 0.5137 GB, free: 62 MB / 442.7 MB Notification: Performance of matching and sorting (n=194): time 0.0206/0.299, allocations: 15.1 MB / 0.5284 GB, free: 55.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.299, allocations: 200.6 kB / 0.5286 GB, free: 54.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.3019, allocations: 3.755 MB / 0.5323 GB, free: 51.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.3021, allocations: 56.8 kB / 0.5323 GB, free: 51.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000892/0.303, allocations: 3.327 MB / 0.5356 GB, free: 48.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/0.3035, allocations: 0.7598 MB / 0.5363 GB, free: 47.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008914/0.3044, allocations: 1.239 MB / 0.5375 GB, free: 46.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.833e-05/0.3044, allocations: 309.1 kB / 0.5378 GB, free: 46.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.3063, allocations: 2.253 MB / 0.54 GB, free: 43.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/0.3089, allocations: 6.004 MB / 0.5459 GB, free: 35.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007153/0.316, allocations: 8.83 MB / 0.5545 GB, free: 25.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.494e-05/0.3161, allocations: 36 kB / 0.5545 GB, free: 25.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01193/0.328, allocations: 8.461 MB / 0.5628 GB, free: 16.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.3281, allocations: 71.94 kB / 0.5629 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.628e-05/0.3282, allocations: 132 kB / 0.563 GB, free: 16.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3293, allocations: 0.676 MB / 0.5637 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/0.3325, allocations: 1.454 MB / 0.5651 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/0.336, allocations: 4.234 MB / 0.5692 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003691/0.3397, allocations: 387.6 kB / 0.5696 GB, free: 9.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003343/0.34, allocations: 378 kB / 0.5699 GB, free: 9.395 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (764): * Single equations (assignments): 760 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002645/0.3427, allocations: 2.231 MB / 0.5721 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.3431, allocations: 321.8 kB / 0.5724 GB, free: 6.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.347, allocations: 3.218 MB / 0.5756 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.347, allocations: 20 kB / 0.5756 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.347, allocations: 15.94 kB / 0.5756 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.347, allocations: 7.969 kB / 0.5756 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008323/0.3553, allocations: 7.099 MB / 0.5825 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3553, allocations: 3.75 kB / 0.5825 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.3562, allocations: 339.5 kB / 0.5829 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007493/0.3569, allocations: 0.5047 MB / 0.5834 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-05/0.357, allocations: 36.97 kB / 0.5834 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/0.3601, allocations: 3.799 MB / 0.5871 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3601, allocations: 3.984 kB / 0.5871 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/0.3656, allocations: 5.903 MB / 0.5929 GB, free: 1.746 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008137/0.3664, allocations: 0.5835 MB / 0.5934 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.3666, allocations: 31.94 kB / 0.5935 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/0.3674, allocations: 163.7 kB / 0.5936 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.3676, allocations: 133 kB / 0.5938 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.141e-05/0.3676, allocations: 52.05 kB / 0.5938 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002496/0.3701, allocations: 2.186 MB / 0.5959 GB, free: 14.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3701, allocations: 4 kB / 0.596 GB, free: 14.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003083/0.3732, allocations: 1.102 MB / 0.597 GB, free: 13.5 MB / 474.7 MB 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 (164): * Single equations (assignments): 160 * 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.0003441/0.3736, allocations: 182.8 kB / 0.5972 GB, free: 13.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005183/0.3787, allocations: 5.151 MB / 0.6022 GB, free: 8.176 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3788, allocations: 0 / 0.6022 GB, free: 8.176 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.3803, allocations: 1.595 MB / 0.6038 GB, free: 6.566 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.3815, allocations: 375.1 kB / 0.6041 GB, free: 6.215 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.3916, allocations: 10.15 MB / 0.6141 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002258/0.3939, allocations: 2.907 MB / 0.6169 GB, free: 9.051 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.3945, allocations: 300.4 kB / 0.6172 GB, free: 8.758 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3945, allocations: 0 / 0.6172 GB, free: 8.758 MB / 490.7 MB Notification: Performance of Templates: time 0.2254/0.6199, allocations: 81.08 MB / 0.6964 GB, free: 140.6 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.133782777003944]