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.001055/0.001055, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001077/0.001077, allocations: 177 kB / 24.06 MB, free: 452 kB / 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.015/1.015, allocations: 158.6 MB / 185.9 MB, free: 2.801 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.1414/0.1414, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.315e-06/2.315e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.662e-05/3.893e-05, allocations: 2.312 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01129/0.01133, allocations: 10.62 MB / 358.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008817/0.02015, allocations: 3.945 MB / 362.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.02213, allocations: 67.75 kB / 362.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003728/0.02585, allocations: 2.998 MB / 365.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.03083, allocations: 2.026 MB / 367.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.03247, allocations: 0.7756 MB / 368.6 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006179/0.03865, allocations: 4.557 MB / 373.1 MB, free: 84 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005451/0.0441, allocations: 3.385 MB / 376.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006946/0.05105, allocations: 2.764 MB / 379.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.05552, allocations: 2.424 MB / 381.7 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.0569, allocations: 380 kB / 382.1 MB, free: 7.059 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.05942, allocations: 1.198 MB / 383.3 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002212/0.06163, allocations: 2.201 MB / 385.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002166/0.06379, allocations: 1.383 MB / 386.8 MB, free: 2.266 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007176/0.07097, allocations: 5.15 MB / 392 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.07098, allocations: 0 / 392 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.07098, allocations: 0 / 392 MB, free: 13.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002248/0.0712, allocations: 0 / 392 MB, free: 13.1 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.008355/0.07956, allocations: 5.299 MB / 397.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.07961, allocations: 8.031 kB / 397.3 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007504/0.08712, allocations: 2.128 MB / 399.4 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/0.0916, allocations: 2.053 MB / 401.5 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.0918, allocations: 250.8 kB / 401.7 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009546/0.09275, allocations: 336.2 kB / 402.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009725/0.1025, allocations: 5.576 MB / 407.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.1026, allocations: 39.64 kB / 407.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004689/0.1031, allocations: 159.8 kB / 407.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001884/0.1049, allocations: 1.862 MB / 409.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005996/0.1109, allocations: 2.411 MB / 412.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2197/0.3307, allocations: 42.69 MB / 454.8 MB, free: 65.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.3335, allocations: 1.022 MB / 455.8 MB, free: 65.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.3341, allocations: 378.8 kB / 456.2 MB, free: 65.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005565/0.3397, allocations: 3.191 MB / 459.4 MB, free: 64.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.3398, allocations: 54.58 kB / 459.4 MB, free: 64.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 4.148e-06/0.3398, allocations: 1.344 kB / 459.4 MB, free: 64.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=165): time 0.009055/0.3488, allocations: 4.072 MB / 463.5 MB, free: 63.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.3489, allocations: 197.2 kB / 463.7 MB, free: 63.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/0.3527, allocations: 3.428 MB / 467.1 MB, free: 62.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002415/0.3529, allocations: 50.17 kB / 467.2 MB, free: 62.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/0.3549, allocations: 3.593 MB / 470.8 MB, free: 60.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007329/0.3557, allocations: 0.6996 MB / 471.5 MB, free: 60.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/0.3569, allocations: 1.353 MB / 472.8 MB, free: 60.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.357, allocations: 479.4 kB / 473.3 MB, free: 59.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.358, allocations: 0.5537 MB / 473.8 MB, free: 59.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/0.3617, allocations: 6.282 MB / 480.1 MB, free: 52.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006601/0.3683, allocations: 7.417 MB / 487.5 MB, free: 44.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/0.3684, allocations: 43.56 kB / 487.6 MB, free: 44.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.007159/0.3756, allocations: 4.803 MB / 492.4 MB, free: 40.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.3756, allocations: 60.22 kB / 492.4 MB, free: 40.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/0.3757, allocations: 140 kB / 492.6 MB, free: 40.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.3761, allocations: 214.4 kB / 492.8 MB, free: 40.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.3782, allocations: 1.398 MB / 494.2 MB, free: 39.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000873/0.379, allocations: 1.998 MB / 496.2 MB, free: 37.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.3817, allocations: 283 kB / 496.5 MB, free: 36.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.382, allocations: 323.6 kB / 496.8 MB, free: 36.45 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.001318/0.3833, allocations: 0.6686 MB / 497.4 MB, free: 35.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/0.3838, allocations: 357.9 kB / 497.8 MB, free: 35.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.3848, allocations: 0.9368 MB / 498.7 MB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.3848, allocations: 20 kB / 498.7 MB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.3848, allocations: 0 / 498.7 MB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3849, allocations: 11.62 kB / 498.8 MB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00574/0.3906, allocations: 4.242 MB / 0.4912 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3906, allocations: 7.984 kB / 0.4912 GB, free: 30.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.3912, allocations: 259.8 kB / 0.4915 GB, free: 30.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.3914, allocations: 50.56 kB / 0.4915 GB, free: 30.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.3915, allocations: 31.98 kB / 0.4915 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005874/0.3921, allocations: 1.743 MB / 0.4932 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3921, allocations: 4 kB / 0.4933 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.3939, allocations: 1.92 MB / 0.4951 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/0.3946, allocations: 429.6 kB / 0.4955 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.3948, allocations: 28 kB / 0.4956 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.3954, allocations: 48.06 kB / 0.4956 GB, free: 25.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.3956, allocations: 104.8 kB / 0.4957 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.3956, allocations: 39.97 kB / 0.4957 GB, free: 25.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.3968, allocations: 1.359 MB / 0.4971 GB, free: 24.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3968, allocations: 0 / 0.4971 GB, free: 24.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003575/0.4004, allocations: 1.008 MB / 0.4981 GB, free: 23.31 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.000337/0.4007, allocations: 189.2 kB / 0.4982 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.4045, allocations: 2.664 MB / 0.5008 GB, free: 20.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4045, allocations: 0 / 0.5008 GB, free: 20.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005948/0.4051, allocations: 0.6019 MB / 0.5014 GB, free: 19.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.4067, allocations: 372.8 kB / 0.5018 GB, free: 19.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.4173, allocations: 7.565 MB / 0.5092 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.4184, allocations: 1.319 MB / 0.5105 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001402/0.4198, allocations: 495.9 kB / 0.5109 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.4205, allocations: 0.5411 MB / 0.5115 GB, free: 9.461 MB / 378.7 MB Notification: Performance of SimCode: time 3.236e-06/0.4205, allocations: 0 / 0.5115 GB, free: 9.461 MB / 378.7 MB Notification: Performance of Templates: time 0.04329/0.4638, allocations: 25.72 MB / 0.5366 GB, free: 15.88 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.188995228148997]