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.001171/0.001171, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001904/0.003075, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001192/0.001192, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002776, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9895/0.9895, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09342/1.083, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.2469/0.2469, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02558/0.2725, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.562e-06/1.562e-06, allocations: 0 / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.189e-05, allocations: 4.312 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01106/0.01108, allocations: 9.148 MB / 301.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008804/0.01989, allocations: 3.902 MB / 305.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.02167, allocations: 63.75 kB / 305.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004886/0.02656, allocations: 2.799 MB / 308.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003697/0.03025, allocations: 1.695 MB / 310.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.03146, allocations: 0.7249 MB / 311 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003599/0.03506, allocations: 4.034 MB / 315 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.03708, allocations: 2.918 MB / 317.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002012/0.03909, allocations: 2.553 MB / 320.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.04067, allocations: 1.96 MB / 322.4 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.04097, allocations: 324 kB / 322.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.04215, allocations: 1.174 MB / 323.9 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009131/0.04306, allocations: 1.676 MB / 325.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007374/0.0438, allocations: 0.9504 MB / 326.6 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.04656, allocations: 4.056 MB / 330.6 MB, free: 136 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.04657, allocations: 0 / 330.6 MB, free: 136 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.04657, allocations: 0 / 330.6 MB, free: 136 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.945e-05/0.04661, allocations: 0 / 330.6 MB, free: 136 kB / 314.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.004178/0.05079, allocations: 4.941 MB / 335.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.05082, allocations: 8.031 kB / 335.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/0.05374, allocations: 1.124 MB / 336.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.0555, allocations: 1.717 MB / 338.4 MB, free: 8.223 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.802e-05/0.0556, allocations: 222 kB / 338.6 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.05589, allocations: 288.2 kB / 338.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003632/0.05952, allocations: 4.38 MB / 343.3 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.05959, allocations: 47.61 kB / 343.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.05979, allocations: 139.9 kB / 343.5 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/0.06088, allocations: 1.459 MB / 344.9 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.06338, allocations: 2.054 MB / 347 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01588/0.07925, allocations: 27.31 MB / 374.3 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.0807, allocations: 0.8521 MB / 375.1 MB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.08095, allocations: 214 kB / 375.3 MB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002568/0.08352, allocations: 2.418 MB / 377.8 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.08355, allocations: 47.05 kB / 377.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 2.785e-06/0.08355, allocations: 0 / 377.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.005369/0.08892, allocations: 2.992 MB / 380.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.08897, allocations: 141 kB / 380.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.09081, allocations: 2.893 MB / 383.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.09086, allocations: 41.7 kB / 383.9 MB, free: 8.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.09196, allocations: 2.841 MB / 386.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/0.09221, allocations: 492.3 kB / 387.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007148/0.09293, allocations: 1.032 MB / 388.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.09299, allocations: 309.1 kB / 388.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/0.09378, allocations: 0.6114 MB / 389.1 MB, free: 3.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.09601, allocations: 4.047 MB / 393.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/0.09898, allocations: 5.09 MB / 398.3 MB, free: 6.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/0.09901, allocations: 36 kB / 398.3 MB, free: 6.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.003198/0.1022, allocations: 3.608 MB / 401.9 MB, free: 3.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.1023, allocations: 58.5 kB / 402 MB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.885e-05/0.1023, allocations: 131.9 kB / 402.1 MB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.1026, allocations: 200.3 kB / 402.3 MB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.1046, allocations: 1.361 MB / 403.7 MB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007702/0.1053, allocations: 1.448 MB / 405.1 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.1069, allocations: 251.7 kB / 405.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.1072, allocations: 304 kB / 405.6 MB, free: 15.32 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.0008193/0.108, allocations: 0.5683 MB / 406.2 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.1082, allocations: 175.8 kB / 406.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.1088, allocations: 0.5163 MB / 406.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.1088, allocations: 16 kB / 406.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1088, allocations: 3.984 kB / 406.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1088, allocations: 3.984 kB / 406.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.1117, allocations: 2.803 MB / 409.7 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.1117, allocations: 0 / 409.7 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.1122, allocations: 199.7 kB / 409.9 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.1124, allocations: 254 kB / 410.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.1126, allocations: 212.8 kB / 410.4 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.1127, allocations: 27.92 kB / 410.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005676/0.1132, allocations: 1.21 MB / 411.6 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1133, allocations: 0 / 411.6 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009628/0.1142, allocations: 1.252 MB / 412.9 MB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.1144, allocations: 12 kB / 412.9 MB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.1148, allocations: 47.89 kB / 412.9 MB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1149, allocations: 72.31 kB / 413 MB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.115, allocations: 27.98 kB / 413 MB, free: 7.703 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007782/0.1158, allocations: 1.023 MB / 414.1 MB, free: 6.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1158, allocations: 4 kB / 414.1 MB, free: 6.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002074/0.1178, allocations: 0.832 MB / 414.9 MB, free: 5.844 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.0002546/0.1181, allocations: 144.2 kB / 415 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.1199, allocations: 2.067 MB / 417.1 MB, free: 3.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001447/0.12, allocations: 100.8 kB / 417.2 MB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.1204, allocations: 361.4 kB / 417.5 MB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.1216, allocations: 0.7502 MB / 418.3 MB, free: 2.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/0.1297, allocations: 6.442 MB / 424.7 MB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008427/0.1306, allocations: 1.103 MB / 425.8 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008818/0.1314, allocations: 426.8 kB / 426.3 MB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005872/0.132, allocations: 469.2 kB / 426.7 MB, free: 9.875 MB / 426.7 MB Notification: Performance of SimCode: time 1.001e-06/0.132, allocations: 0 / 426.7 MB, free: 9.875 MB / 426.7 MB Notification: Performance of Templates: time 0.154/0.286, allocations: 22.05 MB / 448.8 MB, free: 118.5 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 -ignoreHideResult -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.611413022503257]