Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001376/0.001376, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.00151/0.00151, allocations: 210.7 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2363/0.2363, allocations: 46.97 MB / 361.6 MB, free: 4.059 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01141/0.3649, allocations: 8.426 MB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007858/0.3727, allocations: 3.633 MB / 0.5736 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.3739, allocations: 59.75 kB / 0.5736 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.3793, allocations: 2.687 MB / 0.5763 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.3839, allocations: 1.666 MB / 0.5779 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.3857, allocations: 0.7135 MB / 0.5786 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00591/0.3916, allocations: 3.895 MB / 0.5824 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004131/0.3957, allocations: 2.774 MB / 0.5851 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.3983, allocations: 1.425 MB / 0.5865 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/0.402, allocations: 2.052 MB / 0.5885 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009638/0.403, allocations: 312 kB / 0.5888 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.4054, allocations: 1.104 MB / 0.5899 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002221/0.4076, allocations: 1.78 MB / 0.5916 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.4099, allocations: 1.487 MB / 0.5931 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008892/0.4188, allocations: 6.724 MB / 0.5996 GB, free: 13.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4188, allocations: 4 kB / 0.5996 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4188, allocations: 0 / 0.5996 GB, free: 13.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001708/0.4189, allocations: 0 / 0.5996 GB, free: 13.25 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.009068/0.428, allocations: 4.363 MB / 0.6039 GB, free: 8.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4281, allocations: 15.97 kB / 0.6039 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/0.4438, allocations: 2.463 MB / 0.6063 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00712/0.451, allocations: 2.417 MB / 0.6087 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.4512, allocations: 214 kB / 0.6089 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009748/0.4522, allocations: 296 kB / 0.6092 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.4667, allocations: 8.782 MB / 0.6177 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.4668, allocations: 47.62 kB / 0.6178 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003774/0.4672, allocations: 131.9 kB / 0.6179 GB, free: 9.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/0.4699, allocations: 1.657 MB / 0.6195 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.4841, allocations: 7.195 MB / 0.6266 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0404/0.5245, allocations: 31.25 MB / 0.6571 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004847/0.5294, allocations: 1.891 MB / 0.6589 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.5311, allocations: 1.194 MB / 0.6601 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.5314, allocations: 92.25 kB / 0.6602 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.5315, allocations: 51.05 kB / 0.6602 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.577e-06/0.5315, allocations: 0 / 0.6602 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02948/0.561, allocations: 11.45 MB / 0.6714 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.5611, allocations: 196.6 kB / 0.6716 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005037/0.5661, allocations: 3.422 MB / 0.6749 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.5664, allocations: 49.61 kB / 0.675 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002351/0.5688, allocations: 2.957 MB / 0.6779 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007012/0.5695, allocations: 0.5738 MB / 0.6784 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.571, allocations: 1.111 MB / 0.6795 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.5711, allocations: 309.2 kB / 0.6798 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/0.5741, allocations: 1.806 MB / 0.6816 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006096/0.5802, allocations: 5.233 MB / 0.6867 GB, free: 408 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009985/0.5902, allocations: 7.519 MB / 0.694 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001133/0.5903, allocations: 36 kB / 0.6941 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01313/0.6034, allocations: 7.218 MB / 0.7011 GB, free: 15.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-05/0.6035, allocations: 56 kB / 0.7012 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/0.6037, allocations: 120 kB / 0.7013 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/0.6054, allocations: 0.6764 MB / 0.7019 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004106/0.6095, allocations: 1.228 MB / 0.7031 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.6153, allocations: 4.177 MB / 0.7072 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/0.6191, allocations: 299.8 kB / 0.7075 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006969/0.6198, allocations: 335.9 kB / 0.7078 GB, free: 8.961 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.002983/0.6228, allocations: 1.959 MB / 0.7097 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.6234, allocations: 286.1 kB / 0.71 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004453/0.6278, allocations: 2.222 MB / 0.7122 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/0.6278, allocations: 16 kB / 0.7122 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.6279, allocations: 4 kB / 0.7122 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.6279, allocations: 3.984 kB / 0.7122 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.6394, allocations: 5.209 MB / 0.7173 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.6394, allocations: 7.984 kB / 0.7173 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6405, allocations: 215.7 kB / 0.7175 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.642, allocations: 0.5041 MB / 0.718 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.6421, allocations: 27.92 kB / 0.718 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005273/0.6474, allocations: 3.759 MB / 0.7217 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.6474, allocations: 8.25 kB / 0.7217 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007876/0.6553, allocations: 4.381 MB / 0.726 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.6563, allocations: 254 kB / 0.7262 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003089/0.6566, allocations: 27.94 kB / 0.7263 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.6577, allocations: 79.95 kB / 0.7263 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.658, allocations: 104.4 kB / 0.7264 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6581, allocations: 39.98 kB / 0.7265 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002971/0.6611, allocations: 1.97 MB / 0.7284 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.6611, allocations: 0 / 0.7284 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003875/0.6649, allocations: 0.8475 MB / 0.7292 GB, free: 2.844 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.0003644/0.6653, allocations: 155 kB / 0.7294 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.246/0.9113, allocations: 4.139 MB / 0.7334 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.9113, allocations: 0.5312 kB / 0.7334 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/0.9135, allocations: 1.162 MB / 0.7345 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.9159, allocations: 327.3 kB / 0.7349 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.929, allocations: 8.109 MB / 0.7428 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/0.9316, allocations: 2.493 MB / 0.7452 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002989/0.9345, allocations: 1.674 MB / 0.7468 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.935, allocations: 199.2 kB / 0.747 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.935, allocations: 4 kB / 0.747 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04614/0.9812, allocations: 29.99 MB / 0.7763 GB, free: 121.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.668261344006169]