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.001147/0.001147, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001866/0.001866, allocations: 165 kB / 23.79 MB, free: 0.7773 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 1.012/1.012, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1566/0.1566, allocations: 32.37 MB / 270.4 MB, free: 14.81 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 2.024e-06/2.024e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.869e-05, allocations: 6.25 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01146/0.01147, allocations: 10.88 MB / 358.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.0216, allocations: 3.996 MB / 362.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.02355, allocations: 67.75 kB / 362.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.02685, allocations: 3.037 MB / 365.7 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.03062, allocations: 2.03 MB / 367.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.03175, allocations: 0.7716 MB / 368.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004224/0.03598, allocations: 4.547 MB / 373 MB, free: 12 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.0387, allocations: 3.381 MB / 376.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.04113, allocations: 2.764 MB / 379.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.04359, allocations: 2.416 MB / 381.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004882/0.04408, allocations: 384 kB / 381.9 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.04571, allocations: 1.194 MB / 383.1 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.04703, allocations: 2.213 MB / 385.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.04834, allocations: 1.382 MB / 386.7 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004753/0.0531, allocations: 5.146 MB / 391.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.0531, allocations: 4 kB / 391.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.0531, allocations: 4 kB / 391.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.918e-05/0.05317, allocations: 0 / 391.9 MB, free: 13.02 MB / 330.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.009044/0.06222, allocations: 5.444 MB / 397.3 MB, free: 7.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.06228, allocations: 12.03 kB / 397.3 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.07389, allocations: 3.048 MB / 400.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.07727, allocations: 2.306 MB / 402.7 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.0774, allocations: 258.8 kB / 403 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.07784, allocations: 332.2 kB / 403.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007127/0.08497, allocations: 6.042 MB / 409.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.756e-05/0.08505, allocations: 39.64 kB / 409.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.08531, allocations: 159.8 kB / 409.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001698/0.08701, allocations: 2.038 MB / 411.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005015/0.09203, allocations: 2.989 MB / 414.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2022/0.2942, allocations: 43.03 MB / 457.6 MB, free: 52.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.2968, allocations: 1.153 MB / 458.7 MB, free: 51.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.2974, allocations: 442.6 kB / 459.2 MB, free: 51.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004988/0.3024, allocations: 3.388 MB / 462.5 MB, free: 51.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.3025, allocations: 55.41 kB / 462.6 MB, free: 50.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 3.637e-06/0.3025, allocations: 1.375 kB / 462.6 MB, free: 50.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=165): time 0.01018/0.3126, allocations: 7.293 MB / 469.9 MB, free: 48.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.3127, allocations: 198 kB / 470.1 MB, free: 47.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.316, allocations: 3.445 MB / 473.5 MB, free: 47.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.711e-05/0.316, allocations: 54.78 kB / 473.6 MB, free: 47.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001906/0.3179, allocations: 3.56 MB / 477.1 MB, free: 45.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.3183, allocations: 0.6936 MB / 477.8 MB, free: 44.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.3194, allocations: 1.332 MB / 479.2 MB, free: 44.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.3194, allocations: 478.7 kB / 479.6 MB, free: 44.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.3204, allocations: 0.6095 MB / 480.2 MB, free: 44.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/0.3229, allocations: 6.317 MB / 486.6 MB, free: 36.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004511/0.3274, allocations: 7.565 MB / 494.1 MB, free: 29.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.262e-05/0.3274, allocations: 40.41 kB / 494.2 MB, free: 29.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.006251/0.3337, allocations: 5.151 MB / 499.3 MB, free: 27.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.3337, allocations: 64 kB / 499.4 MB, free: 27.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.216e-05/0.3338, allocations: 136.9 kB / 499.5 MB, free: 26.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.3341, allocations: 226.1 kB / 499.7 MB, free: 26.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.3363, allocations: 1.445 MB / 0.4894 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008048/0.3371, allocations: 2.008 MB / 0.4914 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.3392, allocations: 388.2 kB / 0.4918 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/0.3395, allocations: 383 kB / 0.4921 GB, free: 22.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * 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 (768): * Single equations (assignments): 764 * 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.001026/0.3405, allocations: 0.6591 MB / 0.4928 GB, free: 22.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.3408, allocations: 369.9 kB / 0.4931 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.342, allocations: 1.016 MB / 0.4941 GB, free: 20.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.342, allocations: 18.06 kB / 0.4941 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.342, allocations: 4 kB / 0.4941 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.342, allocations: 7.656 kB / 0.4941 GB, free: 20.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/0.3469, allocations: 4.382 MB / 0.4984 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3469, allocations: 0 / 0.4984 GB, free: 17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/0.3476, allocations: 311.9 kB / 0.4987 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.3477, allocations: 52.88 kB / 0.4988 GB, free: 16.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.3478, allocations: 27.09 kB / 0.4988 GB, free: 16.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005708/0.3484, allocations: 1.763 MB / 0.5005 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3484, allocations: 4 kB / 0.5005 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.3503, allocations: 2.073 MB / 0.5026 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.3507, allocations: 488.1 kB / 0.503 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.3509, allocations: 27.84 kB / 0.503 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.3516, allocations: 141.9 kB / 0.5032 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.3518, allocations: 117.3 kB / 0.5033 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.3518, allocations: 53.09 kB / 0.5033 GB, free: 12.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00122/0.353, allocations: 1.461 MB / 0.5048 GB, free: 10.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.353, allocations: 0 / 0.5048 GB, free: 10.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002752/0.3558, allocations: 1.004 MB / 0.5057 GB, free: 9.867 MB / 378.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 (144): * Single equations (assignments): 140 * 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.0003241/0.3561, allocations: 182 kB / 0.5059 GB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.3592, allocations: 2.846 MB / 0.5087 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3592, allocations: 0.625 kB / 0.5087 GB, free: 6.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006074/0.3598, allocations: 0.6512 MB / 0.5093 GB, free: 6.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3609, allocations: 377.3 kB / 0.5097 GB, free: 5.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/0.3706, allocations: 7.616 MB / 0.5171 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.3718, allocations: 1.323 MB / 0.5184 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002613/0.3744, allocations: 1.625 MB / 0.52 GB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.3749, allocations: 232.4 kB / 0.5202 GB, free: 10.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.826e-06/0.3749, allocations: 0 / 0.5202 GB, free: 10.91 MB / 394.7 MB Notification: Performance of Templates: time 0.0381/0.413, allocations: 23.92 MB / 0.5436 GB, free: 3.191 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] 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","",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.222531505860388]