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.00125/0.00125, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001564/0.001564, allocations: 167.4 kB / 24.91 MB, free: 8.613 MB / 18.57 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 0.9315/0.9315, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2572/0.2572, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 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 1.292e-06/1.292e-06, allocations: 0 / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.183e-05, allocations: 2.312 kB / 325.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007298/0.00732, allocations: 9.045 MB / 334.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006288/0.01361, allocations: 3.859 MB / 338.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.01504, allocations: 63.75 kB / 338.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003518/0.01856, allocations: 2.963 MB / 341.2 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.02244, allocations: 1.734 MB / 342.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.02383, allocations: 0.7911 MB / 343.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004338/0.02817, allocations: 4.278 MB / 348 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.03111, allocations: 3.203 MB / 351.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.03438, allocations: 2.62 MB / 353.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.03687, allocations: 1.987 MB / 355.8 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006186/0.03748, allocations: 316 kB / 356.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.03905, allocations: 1.135 MB / 357.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001315/0.04036, allocations: 1.874 MB / 359.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.04164, allocations: 1.176 MB / 360.3 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004277/0.04592, allocations: 4.403 MB / 364.7 MB, free: 36 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.04593, allocations: 0 / 364.7 MB, free: 36 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.04593, allocations: 0 / 364.7 MB, free: 36 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.166e-05/0.04602, allocations: 0 / 364.7 MB, free: 36 kB / 330.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.004842/0.05086, allocations: 4.077 MB / 368.8 MB, free: 11.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.0509, allocations: 8.031 kB / 368.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.05396, allocations: 1.121 MB / 369.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.05654, allocations: 1.729 MB / 371.6 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.05666, allocations: 218 kB / 371.8 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/0.05704, allocations: 292.2 kB / 372.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005074/0.06212, allocations: 4.38 MB / 376.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.279e-05/0.0622, allocations: 39.64 kB / 376.5 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.06245, allocations: 135.9 kB / 376.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001253/0.0637, allocations: 1.455 MB / 378.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/0.06745, allocations: 2.057 MB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0226/0.09005, allocations: 27.29 MB / 407.5 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.09185, allocations: 0.8578 MB / 408.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.09214, allocations: 216.9 kB / 408.5 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003494/0.09563, allocations: 2.422 MB / 411 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.09567, allocations: 51.06 kB / 411 MB, free: 15.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=101): time 3.777e-06/0.09567, allocations: 0 / 411 MB, free: 15.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.006675/0.1023, allocations: 3.023 MB / 414 MB, free: 12.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1024, allocations: 200.4 kB / 414.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.1047, allocations: 2.886 MB / 417.1 MB, free: 9.574 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.1047, allocations: 41.7 kB / 417.2 MB, free: 9.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/0.1059, allocations: 2.845 MB / 420 MB, free: 6.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004634/0.1064, allocations: 492.4 kB / 420.5 MB, free: 6.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007635/0.1071, allocations: 1.04 MB / 421.5 MB, free: 5.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.1072, allocations: 301.1 kB / 421.8 MB, free: 4.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008609/0.1081, allocations: 0.6114 MB / 422.4 MB, free: 4.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.1104, allocations: 4.047 MB / 426.5 MB, free: 14.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004273/0.1147, allocations: 5.103 MB / 431.6 MB, free: 7.504 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.814e-05/0.1148, allocations: 36 kB / 431.6 MB, free: 7.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.005457/0.1202, allocations: 3.607 MB / 435.2 MB, free: 3.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.1203, allocations: 60 kB / 435.3 MB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/0.1204, allocations: 127.9 kB / 435.4 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/0.1208, allocations: 199.7 kB / 435.6 MB, free: 3.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/0.1235, allocations: 1.22 MB / 436.8 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.1246, allocations: 1.447 MB / 438.3 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.1274, allocations: 251.7 kB / 438.5 MB, free: 464 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/0.1277, allocations: 304 kB / 438.8 MB, free: 160 kB / 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.001155/0.1288, allocations: 0.5641 MB / 439.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.1292, allocations: 175.7 kB / 439.5 MB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000811/0.13, allocations: 0.5164 MB / 440.1 MB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.13, allocations: 16 kB / 440.1 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.13, allocations: 0 / 440.1 MB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.13, allocations: 7.969 kB / 440.1 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004247/0.1343, allocations: 2.795 MB / 442.9 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.1343, allocations: 4 kB / 442.9 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.1349, allocations: 167.8 kB / 443 MB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.1352, allocations: 220.8 kB / 443.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.1353, allocations: 15.98 kB / 443.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007263/0.136, allocations: 1.214 MB / 444.5 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.136, allocations: 0 / 444.5 MB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.1375, allocations: 1.24 MB / 445.7 MB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.1379, allocations: 257.9 kB / 446 MB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/0.1382, allocations: 23.97 kB / 446 MB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/0.1388, allocations: 35.92 kB / 446 MB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.139, allocations: 72.31 kB / 446.1 MB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.536e-05/0.1391, allocations: 35.97 kB / 446.1 MB, free: 8.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001132/0.1402, allocations: 1.027 MB / 447.2 MB, free: 7.543 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1402, allocations: 0 / 447.2 MB, free: 7.543 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00339/0.1436, allocations: 0.8358 MB / 448 MB, free: 6.707 MB / 426.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.0003175/0.1439, allocations: 132.2 kB / 448.1 MB, free: 6.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.1467, allocations: 2.074 MB / 450.2 MB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001748/0.1469, allocations: 100.2 kB / 450.3 MB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.1473, allocations: 352 kB / 450.7 MB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.1491, allocations: 0.5503 MB / 451.2 MB, free: 3.488 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.154/0.3031, allocations: 6.304 MB / 457.5 MB, free: 121.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/0.3046, allocations: 1.102 MB / 458.6 MB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001248/0.3059, allocations: 424.1 kB / 459 MB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.3065, allocations: 465.1 kB / 459.5 MB, free: 121.5 MB / 426.7 MB Notification: Performance of SimCode: time 3.918e-06/0.3065, allocations: 0.875 kB / 459.5 MB, free: 121.5 MB / 426.7 MB Notification: Performance of Templates: time 0.03428/0.3408, allocations: 21.58 MB / 481.1 MB, free: 108.4 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.961587063036859]