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.001972/0.001972, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002066/0.002066, allocations: 156.9 kB / 24.27 MB, free: 172 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.591/1.591, allocations: 177 MB / 204.5 MB, free: 5.625 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.3583/0.3583, allocations: 34.24 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.613e-06/1.613e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.117e-05/4.278e-05, allocations: 8.703 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.0129/0.01295, allocations: 8.417 MB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.02367, allocations: 3.648 MB / 389.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.02527, allocations: 63.69 kB / 389.4 MB, free: 6.691 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005938/0.03121, allocations: 2.866 MB / 392.2 MB, free: 3.816 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004979/0.03619, allocations: 1.715 MB / 393.9 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.03847, allocations: 0.7911 MB / 394.7 MB, free: 1.301 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006846/0.04532, allocations: 4.271 MB / 399 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005001/0.05032, allocations: 3.112 MB / 402.1 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003584/0.0539, allocations: 2.128 MB / 404.2 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/0.05745, allocations: 2.038 MB / 406.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007241/0.05817, allocations: 320 kB / 406.6 MB, free: 5.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.06049, allocations: 1.139 MB / 407.7 MB, free: 4.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002613/0.0631, allocations: 1.866 MB / 409.6 MB, free: 2.344 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.06488, allocations: 1.168 MB / 410.8 MB, free: 1.172 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.07519, allocations: 6.791 MB / 417.6 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.07519, allocations: 0 / 417.6 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.07519, allocations: 0 / 417.6 MB, free: 10.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002135/0.07541, allocations: 0 / 417.6 MB, free: 10.36 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.01072/0.08613, allocations: 4.418 MB / 422 MB, free: 5.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.08617, allocations: 12.03 kB / 422 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/0.1034, allocations: 2.94 MB / 424.9 MB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007272/0.1106, allocations: 2.42 MB / 427.3 MB, free: 472 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.1109, allocations: 214 kB / 427.5 MB, free: 256 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.1123, allocations: 296.3 kB / 427.8 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.1308, allocations: 8.829 MB / 436.7 MB, free: 6.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.1309, allocations: 43.64 kB / 436.7 MB, free: 6.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007335/0.1317, allocations: 139.9 kB / 436.8 MB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00307/0.1347, allocations: 1.657 MB / 438.5 MB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.187/0.3217, allocations: 7.247 MB / 445.8 MB, free: 94.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03111/0.3528, allocations: 31.63 MB / 477.4 MB, free: 72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/0.3571, allocations: 1.906 MB / 479.3 MB, free: 71.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.3586, allocations: 1.206 MB / 480.5 MB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.3589, allocations: 117.3 kB / 480.6 MB, free: 70.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3589, allocations: 50.48 kB / 480.7 MB, free: 70.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 3.226e-06/0.3589, allocations: 0 / 480.7 MB, free: 70.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=141): time 0.02802/0.3869, allocations: 12.18 MB / 492.8 MB, free: 66.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/0.387, allocations: 197.8 kB / 493 MB, free: 66.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/0.3922, allocations: 3.493 MB / 496.5 MB, free: 64.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003421/0.3926, allocations: 47.08 kB / 496.6 MB, free: 64.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.3943, allocations: 2.922 MB / 499.5 MB, free: 62.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007541/0.3951, allocations: 0.5737 MB / 0.4883 GB, free: 62.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/0.3965, allocations: 1.087 MB / 0.4894 GB, free: 61.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.821e-05/0.3965, allocations: 305.9 kB / 0.4897 GB, free: 61.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002613/0.3991, allocations: 1.844 MB / 0.4915 GB, free: 60.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004776/0.4039, allocations: 5.247 MB / 0.4966 GB, free: 55.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008153/0.412, allocations: 7.579 MB / 0.504 GB, free: 48.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/0.4122, allocations: 32 kB / 0.5041 GB, free: 48.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01251/0.4247, allocations: 7.56 MB / 0.5114 GB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.4248, allocations: 58.81 kB / 0.5115 GB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.4249, allocations: 123.1 kB / 0.5116 GB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.4265, allocations: 0.7138 MB / 0.5123 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.4299, allocations: 1.235 MB / 0.5135 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.434, allocations: 4.221 MB / 0.5176 GB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/0.438, allocations: 334.9 kB / 0.518 GB, free: 36.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004539/0.4384, allocations: 335.5 kB / 0.5183 GB, free: 35.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * 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 (661): * Single equations (assignments): 657 * 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.002433/0.4408, allocations: 1.954 MB / 0.5202 GB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/0.4415, allocations: 322.1 kB / 0.5205 GB, free: 33.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/0.4451, allocations: 2.316 MB / 0.5228 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/0.4451, allocations: 16 kB / 0.5228 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.4452, allocations: 4 kB / 0.5228 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.4452, allocations: 7.969 kB / 0.5228 GB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008315/0.4535, allocations: 5.407 MB / 0.5281 GB, free: 26.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4535, allocations: 0 / 0.5281 GB, free: 26.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4545, allocations: 223.7 kB / 0.5283 GB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.4559, allocations: 0.5342 MB / 0.5288 GB, free: 25.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.456, allocations: 27.98 kB / 0.5288 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003516/0.4595, allocations: 3.819 MB / 0.5326 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4595, allocations: 3.938 kB / 0.5326 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/0.4652, allocations: 4.575 MB / 0.537 GB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007334/0.4659, allocations: 281.9 kB / 0.5373 GB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/0.4662, allocations: 27.5 kB / 0.5373 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.4674, allocations: 123.2 kB / 0.5374 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/0.4677, allocations: 104.8 kB / 0.5375 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/0.4678, allocations: 39.98 kB / 0.5376 GB, free: 16.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002171/0.47, allocations: 2.029 MB / 0.5396 GB, free: 14.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.47, allocations: 0 / 0.5396 GB, free: 14.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00408/0.474, allocations: 0.9218 MB / 0.5405 GB, free: 13.2 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 (108): * Single equations (assignments): 104 * 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.0003809/0.4744, allocations: 170.2 kB / 0.5406 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005702/0.4801, allocations: 4.21 MB / 0.5447 GB, free: 8.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.4801, allocations: 0 / 0.5447 GB, free: 8.836 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.4817, allocations: 1.22 MB / 0.5459 GB, free: 7.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.4841, allocations: 376.6 kB / 0.5463 GB, free: 7.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.496, allocations: 8.224 MB / 0.5543 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003517/0.4995, allocations: 2.502 MB / 0.5568 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004071/0.5036, allocations: 1.681 MB / 0.5584 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006202/0.5042, allocations: 204.5 kB / 0.5586 GB, free: 10.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5042, allocations: 0 / 0.5586 GB, free: 10.54 MB / 426.7 MB Notification: Performance of Templates: time 0.05614/0.5604, allocations: 24.9 MB / 0.5829 GB, free: 2.074 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] 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.837316671037115]