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.002658/0.002658, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.003224/0.003224, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.623/1.623, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3474/0.3474, allocations: 34.25 MB / 295.2 MB, free: 0.6367 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.754e-06/1.754e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.362e-05, allocations: 4.984 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01424/0.01427, allocations: 9.173 MB / 386.4 MB, free: 9.664 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008692/0.02296, allocations: 3.738 MB / 390.1 MB, free: 5.914 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.02413, allocations: 59.75 kB / 390.2 MB, free: 5.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006291/0.03042, allocations: 2.963 MB / 393.2 MB, free: 2.883 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.03486, allocations: 1.719 MB / 394.9 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.03666, allocations: 0.7794 MB / 395.7 MB, free: 384 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006265/0.04292, allocations: 4.28 MB / 399.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004556/0.04748, allocations: 3.116 MB / 403.1 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.05114, allocations: 2.144 MB / 405.2 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.05523, allocations: 2.077 MB / 407.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007619/0.05599, allocations: 323.9 kB / 407.6 MB, free: 4.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.0583, allocations: 1.139 MB / 408.7 MB, free: 3.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.06041, allocations: 1.874 MB / 410.6 MB, free: 1.336 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.06245, allocations: 1.176 MB / 411.8 MB, free: 160 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.07252, allocations: 6.78 MB / 418.6 MB, free: 9.352 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.07253, allocations: 7.938 kB / 418.6 MB, free: 9.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.07253, allocations: 4 kB / 418.6 MB, free: 9.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002108/0.07274, allocations: 0 / 418.6 MB, free: 9.34 MB / 394.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.01339/0.08613, allocations: 5.147 MB / 423.7 MB, free: 4.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.08617, allocations: 8.031 kB / 423.7 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/0.1048, allocations: 2.897 MB / 426.6 MB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007578/0.1124, allocations: 2.267 MB / 428.9 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.1126, allocations: 222 kB / 429.1 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009871/0.1136, allocations: 288.2 kB / 429.4 MB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.1258, allocations: 5.722 MB / 435.1 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.1259, allocations: 35.7 kB / 435.1 MB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000654/0.1266, allocations: 139.9 kB / 435.3 MB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003161/0.1298, allocations: 1.661 MB / 436.9 MB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009985/0.1397, allocations: 2.943 MB / 439.9 MB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1827/0.3225, allocations: 41.56 MB / 481.4 MB, free: 61.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.326, allocations: 1.148 MB / 482.6 MB, free: 61.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/0.3269, allocations: 483.6 kB / 483.1 MB, free: 61.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.3271, allocations: 96.89 kB / 483.2 MB, free: 61.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3271, allocations: 48.42 kB / 483.2 MB, free: 60.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.767e-06/0.3272, allocations: 0 / 483.2 MB, free: 60.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.02158/0.3487, allocations: 8.548 MB / 491.8 MB, free: 57.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.3488, allocations: 195.9 kB / 491.9 MB, free: 57.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004576/0.3534, allocations: 4.024 MB / 496 MB, free: 55.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.3536, allocations: 49.83 kB / 496 MB, free: 55.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/0.3557, allocations: 3.271 MB / 499.3 MB, free: 53.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000772/0.3565, allocations: 0.6345 MB / 499.9 MB, free: 52.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/0.3583, allocations: 1.396 MB / 0.4896 GB, free: 52.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.3584, allocations: 481.7 kB / 0.49 GB, free: 51.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.36, allocations: 0.7231 MB / 0.4907 GB, free: 51.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004024/0.364, allocations: 5.956 MB / 0.4966 GB, free: 44.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007667/0.3717, allocations: 7.226 MB / 0.5036 GB, free: 36.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002385/0.3719, allocations: 34.53 kB / 0.5036 GB, free: 36.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01742/0.3894, allocations: 5.192 MB / 0.5087 GB, free: 34.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/0.3896, allocations: 54.94 kB / 0.5088 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003298/0.3899, allocations: 125 kB / 0.5089 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.3923, allocations: 489.6 kB / 0.5093 GB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00508/0.3974, allocations: 1.224 MB / 0.5105 GB, free: 34.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.4009, allocations: 3.148 MB / 0.5136 GB, free: 32.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.4051, allocations: 314 kB / 0.5139 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008372/0.406, allocations: 337.4 kB / 0.5142 GB, free: 31.98 MB / 410.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.001791/0.4078, allocations: 0.7123 MB / 0.5149 GB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007097/0.4085, allocations: 326 kB / 0.5152 GB, free: 30.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.4116, allocations: 1.362 MB / 0.5166 GB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.4116, allocations: 16 kB / 0.5166 GB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.4116, allocations: 4 kB / 0.5166 GB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.4116, allocations: 10.75 kB / 0.5166 GB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.4219, allocations: 5.454 MB / 0.5219 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.422, allocations: 4 kB / 0.5219 GB, free: 25.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009696/0.4229, allocations: 195.7 kB / 0.5221 GB, free: 25.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.4243, allocations: 319 kB / 0.5224 GB, free: 24.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.4244, allocations: 28.17 kB / 0.5225 GB, free: 24.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.4272, allocations: 2.81 MB / 0.5252 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4272, allocations: 4.562 kB / 0.5252 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/0.4318, allocations: 2.586 MB / 0.5277 GB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008433/0.4327, allocations: 277.8 kB / 0.528 GB, free: 19.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.433, allocations: 24.81 kB / 0.528 GB, free: 19.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.4342, allocations: 106.3 kB / 0.5281 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.4345, allocations: 105.2 kB / 0.5282 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/0.4346, allocations: 39.89 kB / 0.5283 GB, free: 19.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002391/0.437, allocations: 1.627 MB / 0.5298 GB, free: 18.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.437, allocations: 0 / 0.5298 GB, free: 18.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004312/0.4413, allocations: 0.923 MB / 0.5307 GB, free: 17.11 MB / 410.7 MB 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.0003989/0.4417, allocations: 164.2 kB / 0.5309 GB, free: 16.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005254/0.4469, allocations: 3.109 MB / 0.5339 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4469, allocations: 0 / 0.5339 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.4481, allocations: 0.8122 MB / 0.5347 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.4503, allocations: 366 kB / 0.5351 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009678/0.4599, allocations: 6.694 MB / 0.5416 GB, free: 7.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.462, allocations: 2.243 MB / 0.5438 GB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002834/0.4649, allocations: 1.458 MB / 0.5452 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.4654, allocations: 200.5 kB / 0.5454 GB, free: 3.379 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4654, allocations: 0 / 0.5454 GB, free: 3.379 MB / 410.7 MB Notification: Performance of Templates: time 0.0571/0.5225, allocations: 25.14 MB / 0.57 GB, free: 10.69 MB / 442.7 MB " [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=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","/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: 6.659636766067706]