Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008232/0.0008232, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004098/0.004098, allocations: 159.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8829/0.8829, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2454/0.2454, allocations: 34.25 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.682e-05, allocations: 2.281 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1831/0.1831, allocations: 8.424 MB / 451.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003791/0.1869, allocations: 3.631 MB / 455.5 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005631/0.1875, allocations: 62.16 kB / 455.5 MB, free: 37.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.1896, allocations: 2.821 MB / 458.4 MB, free: 36.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.1913, allocations: 1.718 MB / 460.1 MB, free: 35.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.1921, allocations: 0.7678 MB / 460.9 MB, free: 35.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.1942, allocations: 4.28 MB / 465.1 MB, free: 33.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.1959, allocations: 3.03 MB / 468.2 MB, free: 32.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.1972, allocations: 2.13 MB / 470.3 MB, free: 31.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1985, allocations: 2.025 MB / 472.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.1987, allocations: 318.2 kB / 472.6 MB, free: 30.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009642/0.1996, allocations: 1.144 MB / 473.8 MB, free: 30.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007148/0.2004, allocations: 1.86 MB / 475.6 MB, free: 29.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006157/0.201, allocations: 1.163 MB / 476.8 MB, free: 29.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.2052, allocations: 6.769 MB / 483.6 MB, free: 26.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2052, allocations: 0 / 483.6 MB, free: 26.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2052, allocations: 3.938 kB / 483.6 MB, free: 26.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.326e-05/0.2053, allocations: 5.062 kB / 483.6 MB, free: 26.7 MB / 410.7 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.005161/0.2105, allocations: 4.391 MB / 488 MB, free: 24.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2105, allocations: 8.844 kB / 488 MB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007782/0.2183, allocations: 2.516 MB / 490.5 MB, free: 23.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.2215, allocations: 2.399 MB / 492.9 MB, free: 22.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.2216, allocations: 227.2 kB / 493.1 MB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004184/0.222, allocations: 292.5 kB / 493.4 MB, free: 22.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008511/0.2305, allocations: 8.783 MB / 0.4904 GB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/0.2306, allocations: 41.17 kB / 0.4904 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/0.2309, allocations: 136.4 kB / 0.4906 GB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001609/0.2325, allocations: 1.651 MB / 0.4922 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007335/0.2398, allocations: 7.201 MB / 0.4992 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.2613, allocations: 31.41 MB / 0.5299 GB, free: 11.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.2641, allocations: 1.947 MB / 0.5318 GB, free: 9.621 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.2651, allocations: 1.188 MB / 0.533 GB, free: 8.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.2653, allocations: 100.4 kB / 0.5331 GB, free: 8.324 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.2653, allocations: 51 kB / 0.5331 GB, free: 8.266 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 5.951e-06/0.2653, allocations: 0 / 0.5331 GB, free: 8.266 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01678/0.2821, allocations: 11.73 MB / 0.5446 GB, free: 12.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.2822, allocations: 200.6 kB / 0.5447 GB, free: 12.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.2856, allocations: 3.508 MB / 0.5482 GB, free: 8.699 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.2856, allocations: 45.89 kB / 0.5482 GB, free: 8.648 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.2868, allocations: 2.93 MB / 0.5511 GB, free: 5.688 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.2872, allocations: 0.5737 MB / 0.5516 GB, free: 5.109 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009117/0.2881, allocations: 1.099 MB / 0.5527 GB, free: 4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.2881, allocations: 301.1 kB / 0.553 GB, free: 3.703 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.2898, allocations: 1.808 MB / 0.5548 GB, free: 1.891 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/0.2932, allocations: 5.237 MB / 0.5599 GB, free: 10.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005785/0.299, allocations: 7.511 MB / 0.5672 GB, free: 1.758 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.221e-05/0.299, allocations: 39.94 kB / 0.5673 GB, free: 1.719 MB / 474.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.007734/0.3067, allocations: 7.2 MB / 0.5743 GB, free: 10.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.3068, allocations: 60.22 kB / 0.5743 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-05/0.3069, allocations: 120 kB / 0.5745 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009605/0.3078, allocations: 0.672 MB / 0.5751 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.3097, allocations: 1.244 MB / 0.5763 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.3132, allocations: 4.202 MB / 0.5804 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.3154, allocations: 331.8 kB / 0.5807 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.3156, allocations: 331.9 kB / 0.5811 GB, free: 3.469 MB / 490.7 MB 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.002127/0.3177, allocations: 1.951 MB / 0.583 GB, free: 1.504 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.318, allocations: 290 kB / 0.5832 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.3206, allocations: 2.209 MB / 0.5854 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.3206, allocations: 19.94 kB / 0.5854 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3206, allocations: 8 kB / 0.5854 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.3206, allocations: 7.969 kB / 0.5854 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006142/0.3267, allocations: 5.291 MB / 0.5906 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3267, allocations: 0 / 0.5906 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.3272, allocations: 211.7 kB / 0.5908 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/0.328, allocations: 0.511 MB / 0.5913 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-05/0.3281, allocations: 31.92 kB / 0.5913 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.331, allocations: 3.789 MB / 0.595 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.331, allocations: 2.422 kB / 0.595 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/0.3351, allocations: 4.383 MB / 0.5993 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003831/0.3355, allocations: 285.9 kB / 0.5996 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.3357, allocations: 23.98 kB / 0.5996 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.3364, allocations: 107.8 kB / 0.5997 GB, free: 168 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.3365, allocations: 100.5 kB / 0.5998 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.3366, allocations: 39.98 kB / 0.5998 GB, free: 28 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001918/0.3385, allocations: 2.033 MB / 0.6018 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3385, allocations: 4.062 kB / 0.6018 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002925/0.3414, allocations: 0.9217 MB / 0.6027 GB, free: 13.07 MB / 0.5105 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.0003062/0.3417, allocations: 162.9 kB / 0.6029 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004809/0.3466, allocations: 4.142 MB / 0.6069 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3466, allocations: 4 kB / 0.6069 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.3477, allocations: 1.162 MB / 0.6081 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3489, allocations: 363.2 kB / 0.6084 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/0.3585, allocations: 8.445 MB / 0.6167 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.3605, allocations: 2.483 MB / 0.6191 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.361, allocations: 248.4 kB / 0.6193 GB, free: 12 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/0.361, allocations: 0 / 0.6193 GB, free: 12 MB / 0.5261 GB Notification: Performance of Templates: time 0.2265/0.5875, allocations: 68.49 MB / 0.6862 GB, free: 130 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.357960316352546]