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.001124/0.001124, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001157/0.001157, allocations: 163 kB / 25.61 MB, free: 8.578 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.9671/0.9671, allocations: 177 MB / 205.9 MB, free: 4.426 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.1478/0.1478, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.553e-06/1.553e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.927e-05, allocations: 7.438 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.005928/0.005947, allocations: 9.024 MB / 389 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005829/0.01178, allocations: 3.72 MB / 392.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.01305, allocations: 63.69 kB / 392.8 MB, free: 9.867 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.01562, allocations: 2.917 MB / 395.7 MB, free: 6.941 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.01894, allocations: 1.734 MB / 397.5 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.0203, allocations: 0.7872 MB / 398.3 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003859/0.02416, allocations: 4.291 MB / 402.5 MB, free: 116 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003267/0.02743, allocations: 3.123 MB / 405.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.03079, allocations: 2.643 MB / 408.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.03342, allocations: 2.077 MB / 410.4 MB, free: 8.188 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006065/0.03403, allocations: 320 kB / 410.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.03568, allocations: 1.131 MB / 411.8 MB, free: 6.742 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.03717, allocations: 1.874 MB / 413.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.03847, allocations: 1.172 MB / 414.9 MB, free: 3.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.04324, allocations: 4.411 MB / 419.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.04325, allocations: 0 / 419.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.04325, allocations: 0 / 419.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000105/0.04335, allocations: 0 / 419.3 MB, free: 15.26 MB / 346.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.00617/0.04952, allocations: 4.635 MB / 423.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.04956, allocations: 8.031 kB / 423.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009081/0.05864, allocations: 1.953 MB / 425.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003127/0.06177, allocations: 1.834 MB / 427.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.06192, allocations: 222 kB / 427.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004897/0.06241, allocations: 288.2 kB / 428.2 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006729/0.06913, allocations: 4.889 MB / 433.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.649e-05/0.06922, allocations: 31.7 kB / 433.1 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.06952, allocations: 143.9 kB / 433.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001584/0.07111, allocations: 1.455 MB / 434.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004258/0.07537, allocations: 1.982 MB / 436.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/0.102, allocations: 38.2 MB / 474.9 MB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.1037, allocations: 0.8063 MB / 475.7 MB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.104, allocations: 260 kB / 476 MB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003131/0.1072, allocations: 2.574 MB / 478.6 MB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1072, allocations: 45.89 kB / 478.6 MB, free: 1.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 2.194e-06/0.1072, allocations: 0 / 478.6 MB, free: 1.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.006954/0.1141, allocations: 3.109 MB / 481.7 MB, free: 14.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.1142, allocations: 200.2 kB / 481.9 MB, free: 14.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.1172, allocations: 3.235 MB / 485.1 MB, free: 10.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/0.1172, allocations: 37.7 kB / 485.2 MB, free: 10.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.1188, allocations: 3.193 MB / 488.4 MB, free: 7.617 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006817/0.1195, allocations: 0.5082 MB / 488.9 MB, free: 7.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009822/0.1205, allocations: 1.207 MB / 490.1 MB, free: 5.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1206, allocations: 480.8 kB / 490.6 MB, free: 5.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/0.1214, allocations: 450.3 kB / 491 MB, free: 4.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1686/0.29, allocations: 5.722 MB / 496.7 MB, free: 102.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/0.294, allocations: 6.707 MB / 0.4916 GB, free: 95.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/0.2941, allocations: 34.91 kB / 0.4917 GB, free: 95.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.00731/0.3014, allocations: 4.245 MB / 0.4958 GB, free: 94.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.431e-05/0.3015, allocations: 62.44 kB / 0.4959 GB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/0.3017, allocations: 125.5 kB / 0.496 GB, free: 94.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00045/0.3021, allocations: 203.9 kB / 0.4962 GB, free: 94.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.3045, allocations: 1.218 MB / 0.4974 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.3056, allocations: 1.972 MB / 0.4993 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/0.3087, allocations: 255.2 kB / 0.4995 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/0.3091, allocations: 298.1 kB / 0.4998 GB, free: 92.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (670): * Single equations (assignments): 666 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001417/0.3105, allocations: 0.6104 MB / 0.5004 GB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005363/0.311, allocations: 317.2 kB / 0.5007 GB, free: 92.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008848/0.3119, allocations: 0.5824 MB / 0.5013 GB, free: 92.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.3119, allocations: 13.56 kB / 0.5013 GB, free: 92.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3119, allocations: 0 / 0.5013 GB, free: 92.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.312, allocations: 5.547 kB / 0.5013 GB, free: 92.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.3178, allocations: 3.385 MB / 0.5046 GB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.3178, allocations: 0 / 0.5046 GB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.3183, allocations: 168 kB / 0.5048 GB, free: 91.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.3185, allocations: 38.42 kB / 0.5048 GB, free: 91.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.3185, allocations: 29.8 kB / 0.5048 GB, free: 91.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000694/0.3192, allocations: 1.738 MB / 0.5065 GB, free: 89.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3192, allocations: 3.938 kB / 0.5065 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.3207, allocations: 1.497 MB / 0.508 GB, free: 88.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.3211, allocations: 269.4 kB / 0.5083 GB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.3214, allocations: 18.25 kB / 0.5083 GB, free: 88.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.3219, allocations: 40.53 kB / 0.5083 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.322, allocations: 75.77 kB / 0.5084 GB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.3221, allocations: 26.69 kB / 0.5084 GB, free: 88.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.3231, allocations: 1.286 MB / 0.5097 GB, free: 87.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3231, allocations: 0 / 0.5097 GB, free: 87.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002726/0.3258, allocations: 0.8295 MB / 0.5105 GB, free: 86.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 86 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002771/0.3261, allocations: 162.9 kB / 0.5106 GB, free: 86.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002432/0.3285, allocations: 2.274 MB / 0.5128 GB, free: 84.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3285, allocations: 0 / 0.5128 GB, free: 84.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.3289, allocations: 457.2 kB / 0.5133 GB, free: 84.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.33, allocations: 365.2 kB / 0.5136 GB, free: 84.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00822/0.3383, allocations: 6.35 MB / 0.5198 GB, free: 78.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.3393, allocations: 1.122 MB / 0.5209 GB, free: 77.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001267/0.3406, allocations: 432.9 kB / 0.5213 GB, free: 77.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006509/0.3412, allocations: 495.5 kB / 0.5218 GB, free: 76.77 MB / 410.7 MB Notification: Performance of SimCode: time 3.316e-06/0.3412, allocations: 0 / 0.5218 GB, free: 76.77 MB / 410.7 MB Notification: Performance of Templates: time 0.03509/0.3763, allocations: 22.35 MB / 0.5436 GB, free: 55.02 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.332820180803537]