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.001733/0.001733, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002093/0.002093, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2561/0.2561, allocations: 46.95 MB / 361.6 MB, free: 4.016 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.002095/0.002095, allocations: 59.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2803, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01126/0.2916, allocations: 8.426 MB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007468/0.299, allocations: 3.629 MB / 0.5736 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009452/0.3, allocations: 63.75 kB / 0.5736 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004996/0.305, allocations: 2.683 MB / 0.5763 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.3084, allocations: 1.662 MB / 0.5779 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3098, allocations: 0.7174 MB / 0.5786 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004797/0.3146, allocations: 3.903 MB / 0.5824 GB, free: 15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003177/0.3178, allocations: 2.76 MB / 0.5851 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.3197, allocations: 1.429 MB / 0.5865 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.3223, allocations: 2.052 MB / 0.5885 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000554/0.3229, allocations: 316 kB / 0.5888 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.3248, allocations: 1.096 MB / 0.5899 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.3265, allocations: 1.78 MB / 0.5916 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.3283, allocations: 1.495 MB / 0.5931 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007411/0.3357, allocations: 6.717 MB / 0.5996 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3357, allocations: 4 kB / 0.5996 GB, free: 13.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3357, allocations: 0 / 0.5996 GB, free: 13.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.3358, allocations: 3.938 kB / 0.5996 GB, free: 13.24 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.008515/0.3444, allocations: 4.371 MB / 0.6039 GB, free: 8.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3444, allocations: 8.031 kB / 0.6039 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.3609, allocations: 2.463 MB / 0.6063 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007008/0.3679, allocations: 2.413 MB / 0.6087 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.3681, allocations: 218 kB / 0.6089 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007166/0.3689, allocations: 295.9 kB / 0.6092 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.3834, allocations: 8.782 MB / 0.6177 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.3835, allocations: 47.62 kB / 0.6178 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.3839, allocations: 139.9 kB / 0.6179 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002809/0.3867, allocations: 1.65 MB / 0.6195 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0137/0.4004, allocations: 7.199 MB / 0.6266 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04067/0.441, allocations: 31.25 MB / 0.6571 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/0.4458, allocations: 1.895 MB / 0.6589 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.4476, allocations: 1.186 MB / 0.6601 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.4478, allocations: 104.2 kB / 0.6602 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.4479, allocations: 47.05 kB / 0.6602 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.969e-06/0.4479, allocations: 0 / 0.6602 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02871/0.4766, allocations: 11.44 MB / 0.6714 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.4767, allocations: 196.5 kB / 0.6716 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/0.4813, allocations: 3.426 MB / 0.6749 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.4814, allocations: 49.7 kB / 0.675 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.4836, allocations: 2.957 MB / 0.6779 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.4842, allocations: 0.5738 MB / 0.6784 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.4856, allocations: 1.111 MB / 0.6795 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4858, allocations: 305.1 kB / 0.6798 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.4886, allocations: 1.806 MB / 0.6816 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005608/0.4942, allocations: 5.233 MB / 0.6867 GB, free: 388 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.5043, allocations: 7.523 MB / 0.694 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/0.5044, allocations: 35.94 kB / 0.6941 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.0141/0.5185, allocations: 7.212 MB / 0.7011 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.988e-05/0.5186, allocations: 62.48 kB / 0.7012 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/0.5188, allocations: 116 kB / 0.7013 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.5205, allocations: 0.6765 MB / 0.7019 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003989/0.5245, allocations: 1.24 MB / 0.7031 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.5303, allocations: 4.174 MB / 0.7072 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/0.5339, allocations: 295.8 kB / 0.7075 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000522/0.5344, allocations: 336 kB / 0.7078 GB, free: 8.941 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.002917/0.5373, allocations: 1.955 MB / 0.7097 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005055/0.5378, allocations: 290.1 kB / 0.71 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/0.5423, allocations: 2.214 MB / 0.7122 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/0.5424, allocations: 19.98 kB / 0.7122 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.5424, allocations: 4 kB / 0.7122 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.5424, allocations: 3.984 kB / 0.7122 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.5535, allocations: 5.219 MB / 0.7173 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.5535, allocations: 0 / 0.7173 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.5546, allocations: 215.7 kB / 0.7175 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.5562, allocations: 0.5157 MB / 0.718 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.5563, allocations: 23.98 kB / 0.718 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005084/0.5613, allocations: 3.755 MB / 0.7217 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5613, allocations: 4.031 kB / 0.7217 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007307/0.5687, allocations: 4.379 MB / 0.726 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007546/0.5694, allocations: 258.2 kB / 0.7262 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/0.5697, allocations: 20 kB / 0.7262 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5708, allocations: 79.97 kB / 0.7263 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.5711, allocations: 104.4 kB / 0.7264 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.5712, allocations: 43.92 kB / 0.7265 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003025/0.5742, allocations: 1.971 MB / 0.7284 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5742, allocations: 3.938 kB / 0.7284 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004114/0.5784, allocations: 0.8475 MB / 0.7292 GB, free: 2.824 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.0003785/0.5787, allocations: 150 kB / 0.7294 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2584/0.8371, allocations: 4.14 MB / 0.7334 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.8371, allocations: 0.6562 kB / 0.7334 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.8391, allocations: 1.166 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.002008/0.8411, allocations: 329.6 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.01101/0.8521, allocations: 8.117 MB / 0.7428 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/0.8545, allocations: 2.493 MB / 0.7452 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003132/0.8577, allocations: 1.662 MB / 0.7468 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/0.8582, allocations: 203.1 kB / 0.747 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.8582, allocations: 0 / 0.747 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04768/0.9058, allocations: 30.01 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 gbode -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.602816781000001]