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.001181/0.001181, allocations: 77.88 kB / 21.42 MB, free: 3.066 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.001183/0.001183, allocations: 168.2 kB / 24.82 MB, free: 9.312 MB / 18.57 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 0.9606/0.9606, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.2662/0.2662, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 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 2.405e-06/2.405e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.714e-05/3.955e-05, allocations: 5.406 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01207/0.01211, allocations: 9.024 MB / 387.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008022/0.02013, allocations: 3.722 MB / 391.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.02198, allocations: 63.75 kB / 391.3 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.02531, allocations: 2.92 MB / 394.2 MB, free: 2.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.029, allocations: 1.727 MB / 396 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.03048, allocations: 0.7834 MB / 396.8 MB, free: 72 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004438/0.03491, allocations: 4.296 MB / 401 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.03811, allocations: 3.116 MB / 404.2 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.04118, allocations: 2.639 MB / 406.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.04336, allocations: 2.065 MB / 408.9 MB, free: 3.863 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005825/0.04395, allocations: 324 kB / 409.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.04569, allocations: 1.135 MB / 410.3 MB, free: 2.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.04709, allocations: 1.874 MB / 412.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.04857, allocations: 1.176 MB / 413.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.05419, allocations: 4.403 MB / 417.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.0542, allocations: 7.922 kB / 417.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0542, allocations: 4 kB / 417.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.05432, allocations: 0 / 417.8 MB, free: 10.92 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.007143/0.06147, allocations: 4.631 MB / 422.4 MB, free: 6.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.06153, allocations: 12.03 kB / 422.4 MB, free: 6.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006609/0.06813, allocations: 1.945 MB / 424.4 MB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.07131, allocations: 1.842 MB / 426.2 MB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.07144, allocations: 218 kB / 426.4 MB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.07189, allocations: 288.2 kB / 426.7 MB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005754/0.07764, allocations: 4.874 MB / 431.6 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.407e-05/0.07772, allocations: 43.69 kB / 431.6 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.07797, allocations: 139.9 kB / 431.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00112/0.07909, allocations: 1.458 MB / 433.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/0.08292, allocations: 2.007 MB / 435.2 MB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2292/0.3122, allocations: 38.18 MB / 473.4 MB, free: 60.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.3143, allocations: 0.8142 MB / 474.2 MB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.3146, allocations: 268.9 kB / 474.5 MB, free: 60.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00357/0.3182, allocations: 2.564 MB / 477.1 MB, free: 59.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3182, allocations: 49.05 kB / 477.1 MB, free: 59.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=101): time 4.118e-06/0.3182, allocations: 0 / 477.1 MB, free: 59.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.006784/0.325, allocations: 3.121 MB / 480.2 MB, free: 58.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.3251, allocations: 193.6 kB / 480.4 MB, free: 58.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.3279, allocations: 3.233 MB / 483.6 MB, free: 57.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/0.328, allocations: 43.73 kB / 483.7 MB, free: 57.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.3293, allocations: 3.189 MB / 486.9 MB, free: 55.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/0.3296, allocations: 0.5114 MB / 487.4 MB, free: 55.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008627/0.3305, allocations: 1.215 MB / 488.6 MB, free: 54.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.3305, allocations: 476.8 kB / 489.1 MB, free: 53.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006947/0.3312, allocations: 449 kB / 489.5 MB, free: 53.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.3334, allocations: 5.723 MB / 495.2 MB, free: 46.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/0.3375, allocations: 6.71 MB / 0.4902 GB, free: 39.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/0.3376, allocations: 35.53 kB / 0.4902 GB, free: 39.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.005417/0.343, allocations: 4.241 MB / 0.4943 GB, free: 37.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.3431, allocations: 64.97 kB / 0.4944 GB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.3432, allocations: 123.8 kB / 0.4945 GB, free: 37.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/0.3436, allocations: 202.5 kB / 0.4947 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/0.3459, allocations: 1.218 MB / 0.4959 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.347, allocations: 1.974 MB / 0.4978 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.3498, allocations: 255.4 kB / 0.4981 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006788/0.3505, allocations: 296.1 kB / 0.4984 GB, free: 35.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (670): * Single equations (assignments): 666 * 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.0019/0.3524, allocations: 0.6142 MB / 0.499 GB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006353/0.353, allocations: 310.6 kB / 0.4993 GB, free: 34.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009829/0.354, allocations: 0.584 MB / 0.4998 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/0.354, allocations: 12.75 kB / 0.4998 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.354, allocations: 1.375 kB / 0.4998 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3541, allocations: 4.625 kB / 0.4998 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006788/0.3608, allocations: 3.39 MB / 0.5032 GB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/0.3609, allocations: 2.469 kB / 0.5032 GB, free: 32.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.3614, allocations: 168.4 kB / 0.5033 GB, free: 32.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.3617, allocations: 42.38 kB / 0.5034 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/0.3617, allocations: 23.97 kB / 0.5034 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007483/0.3625, allocations: 1.741 MB / 0.5051 GB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3625, allocations: 6.156 kB / 0.5051 GB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.3647, allocations: 1.486 MB / 0.5065 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006908/0.3654, allocations: 270.5 kB / 0.5068 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.3657, allocations: 26.62 kB / 0.5068 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.3663, allocations: 35.66 kB / 0.5069 GB, free: 29.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.3664, allocations: 67.66 kB / 0.5069 GB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.17e-05/0.3665, allocations: 33.36 kB / 0.507 GB, free: 29.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001844/0.3683, allocations: 1.287 MB / 0.5082 GB, free: 29.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3683, allocations: 0 / 0.5082 GB, free: 29.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004146/0.3725, allocations: 0.8315 MB / 0.509 GB, free: 29.27 MB / 410.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 (90): * Single equations (assignments): 86 * 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.0003942/0.3729, allocations: 160.2 kB / 0.5092 GB, free: 29.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003442/0.3763, allocations: 2.273 MB / 0.5114 GB, free: 28.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3763, allocations: 0 / 0.5114 GB, free: 28.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.3768, allocations: 466.6 kB / 0.5118 GB, free: 28.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.3785, allocations: 349.8 kB / 0.5122 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008936/0.3874, allocations: 6.348 MB / 0.5184 GB, free: 24.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.3886, allocations: 1.108 MB / 0.5195 GB, free: 24.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001205/0.3898, allocations: 429.4 kB / 0.5199 GB, free: 24.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.3904, allocations: 0.497 MB / 0.5204 GB, free: 24.11 MB / 410.7 MB Notification: Performance of SimCode: time 2.785e-06/0.3904, allocations: 0 / 0.5204 GB, free: 24.11 MB / 410.7 MB Notification: Performance of Templates: time 0.03668/0.4271, allocations: 21.89 MB / 0.5417 GB, free: 7.379 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.286413881927729]