Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001747/0.001747, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002231/0.002231, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 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.485/1.485, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2378/0.2378, allocations: 46.9 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 79.86 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3612, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01251/0.3737, allocations: 9.577 MB / 0.5706 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009074/0.3828, allocations: 3.874 MB / 0.5743 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.3844, allocations: 51.88 kB / 0.5744 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005365/0.3898, allocations: 2.804 MB / 0.5771 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.3946, allocations: 1.646 MB / 0.5787 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.3963, allocations: 0.7213 MB / 0.5794 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006072/0.4024, allocations: 3.888 MB / 0.5832 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0039/0.4063, allocations: 2.558 MB / 0.5857 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.4088, allocations: 1.41 MB / 0.5871 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.4121, allocations: 2.041 MB / 0.5891 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007901/0.4129, allocations: 316 kB / 0.5894 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.4152, allocations: 1.225 MB / 0.5906 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001914/0.4171, allocations: 1.784 MB / 0.5923 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.4195, allocations: 2.02 MB / 0.5943 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009002/0.4285, allocations: 6.689 MB / 0.6008 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4285, allocations: 0 / 0.6008 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4285, allocations: 0 / 0.6008 GB, free: 12.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001755/0.4287, allocations: 0 / 0.6008 GB, free: 12.23 MB / 446.1 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.009952/0.4386, allocations: 4.454 MB / 0.6052 GB, free: 7.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4387, allocations: 8.031 kB / 0.6052 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.4556, allocations: 2.467 MB / 0.6076 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007101/0.4627, allocations: 2.473 MB / 0.61 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.4629, allocations: 222 kB / 0.6102 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009995/0.4639, allocations: 299.9 kB / 0.6105 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.4796, allocations: 8.724 MB / 0.619 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.4797, allocations: 35.7 kB / 0.6191 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000403/0.4801, allocations: 139.9 kB / 0.6192 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002974/0.4831, allocations: 1.653 MB / 0.6208 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.4975, allocations: 7.215 MB / 0.6279 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04508/0.5426, allocations: 33.48 MB / 0.6606 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.5477, allocations: 2.354 MB / 0.6629 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.5496, allocations: 1.184 MB / 0.664 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.55, allocations: 327.7 kB / 0.6643 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.5501, allocations: 47.06 kB / 0.6644 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.427e-06/0.5501, allocations: 0 / 0.6644 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02896/0.5791, allocations: 11.65 MB / 0.6758 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.5792, allocations: 196.5 kB / 0.6759 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005189/0.5844, allocations: 3.586 MB / 0.6794 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002769/0.5847, allocations: 49.7 kB / 0.6795 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002378/0.587, allocations: 2.928 MB / 0.6824 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007334/0.5878, allocations: 0.5854 MB / 0.6829 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001447/0.5892, allocations: 1.115 MB / 0.684 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5894, allocations: 309.1 kB / 0.6843 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/0.5924, allocations: 1.81 MB / 0.6861 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/0.5984, allocations: 5.182 MB / 0.6911 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009803/0.6082, allocations: 7.521 MB / 0.6985 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.955e-05/0.6082, allocations: 36 kB / 0.6985 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01397/0.6222, allocations: 7.23 MB / 0.7056 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.6223, allocations: 59.94 kB / 0.7056 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/0.6224, allocations: 120 kB / 0.7058 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.6242, allocations: 0.6764 MB / 0.7064 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003862/0.628, allocations: 1.24 MB / 0.7076 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/0.6337, allocations: 4.344 MB / 0.7119 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/0.6373, allocations: 299.8 kB / 0.7121 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005503/0.6378, allocations: 332 kB / 0.7125 GB, free: 4.164 MB / 0.545 GB 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.002961/0.6408, allocations: 1.959 MB / 0.7144 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/0.6413, allocations: 317.9 kB / 0.7147 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.6458, allocations: 2.241 MB / 0.7169 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.778e-05/0.6459, allocations: 16 kB / 0.7169 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6459, allocations: 4 kB / 0.7169 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.6459, allocations: 7.969 kB / 0.7169 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.6582, allocations: 6.127 MB / 0.7229 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.6582, allocations: 0 / 0.7229 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.6593, allocations: 215.7 kB / 0.7231 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00148/0.6608, allocations: 0.5041 MB / 0.7236 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.6609, allocations: 23.98 kB / 0.7236 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00526/0.6662, allocations: 3.923 MB / 0.7274 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.6662, allocations: 12.03 kB / 0.7274 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007797/0.674, allocations: 4.4 MB / 0.7317 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2739/0.9479, allocations: 370.9 kB / 0.7321 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/0.9485, allocations: 18.19 kB / 0.7321 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.9498, allocations: 86.36 kB / 0.7322 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.9501, allocations: 95 kB / 0.7323 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.9502, allocations: 44.02 kB / 0.7323 GB, free: 153 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004561/0.9548, allocations: 2.229 MB / 0.7345 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9548, allocations: 0 / 0.7345 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003975/0.9588, allocations: 0.8498 MB / 0.7353 GB, free: 152.7 MB / 0.5606 GB 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.0003535/0.9591, allocations: 156 kB / 0.7355 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005485/0.9646, allocations: 4.143 MB / 0.7395 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9646, allocations: 0 / 0.7395 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.966, allocations: 1.163 MB / 0.7407 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.9679, allocations: 382.9 kB / 0.741 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.9781, allocations: 8.152 MB / 0.749 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/0.9805, allocations: 3.038 MB / 0.752 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003144/0.9837, allocations: 1.705 MB / 0.7536 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.9842, allocations: 218.3 kB / 0.7538 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.9842, allocations: 0 / 0.7538 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.04594/1.03, allocations: 28.68 MB / 0.7818 GB, free: 115.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.936524114571512]