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.001421/0.001421, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001175/0.001175, allocations: 168.8 kB / 24.99 MB, free: 8.793 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 1/1, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2899/0.2899, allocations: 34.26 MB / 296 MB, free: 0.7617 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 1.683e-06/1.683e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.086e-05, allocations: 2.312 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01163/0.01167, allocations: 9.208 MB / 387.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008364/0.02003, allocations: 3.749 MB / 391 MB, free: 5.949 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.02199, allocations: 59.75 kB / 391.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004734/0.02672, allocations: 2.959 MB / 394 MB, free: 2.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.03047, allocations: 1.719 MB / 395.7 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.03187, allocations: 0.7755 MB / 396.5 MB, free: 428 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003641/0.03551, allocations: 4.287 MB / 400.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.03834, allocations: 3.12 MB / 403.9 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.04039, allocations: 2.14 MB / 406.1 MB, free: 6.789 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.04213, allocations: 2.085 MB / 408.1 MB, free: 4.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000336/0.04246, allocations: 320 kB / 408.4 MB, free: 4.387 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.04365, allocations: 1.139 MB / 409.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.04465, allocations: 1.87 MB / 411.5 MB, free: 1.371 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009157/0.04557, allocations: 1.18 MB / 412.6 MB, free: 192 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003391/0.04896, allocations: 4.403 MB / 417 MB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.04896, allocations: 0 / 417 MB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04897, allocations: 0 / 417 MB, free: 11.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.2e-05/0.04902, allocations: 0 / 417 MB, free: 11.77 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.005053/0.05407, allocations: 4.741 MB / 421.8 MB, free: 6.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.05411, allocations: 8.031 kB / 421.8 MB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00801/0.06212, allocations: 2.897 MB / 424.7 MB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.0648, allocations: 2.228 MB / 426.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.0649, allocations: 218 kB / 427.1 MB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.06523, allocations: 300.1 kB / 427.4 MB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005337/0.07056, allocations: 5.265 MB / 432.7 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.624e-05/0.07063, allocations: 43.64 kB / 432.7 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.07087, allocations: 135.9 kB / 432.9 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001512/0.07238, allocations: 1.661 MB / 434.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0042/0.07658, allocations: 2.581 MB / 437.1 MB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1815/0.2581, allocations: 37.99 MB / 475.1 MB, free: 65.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.2602, allocations: 1.018 MB / 476.1 MB, free: 65.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.2607, allocations: 406.6 kB / 476.5 MB, free: 65.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.2609, allocations: 97.72 kB / 476.6 MB, free: 65.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2609, allocations: 53.67 kB / 476.7 MB, free: 65.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.858e-06/0.2609, allocations: 0 / 476.7 MB, free: 65.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01219/0.2731, allocations: 7.682 MB / 484.3 MB, free: 62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.2731, allocations: 194.7 kB / 484.5 MB, free: 61.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.2756, allocations: 3.164 MB / 487.7 MB, free: 60.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.2756, allocations: 48.02 kB / 487.7 MB, free: 60.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.2767, allocations: 3.097 MB / 490.8 MB, free: 58.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.2771, allocations: 0.5972 MB / 491.4 MB, free: 57.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000835/0.2779, allocations: 1.189 MB / 492.6 MB, free: 57.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.2779, allocations: 481.5 kB / 493.1 MB, free: 56.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.2787, allocations: 0.5477 MB / 493.6 MB, free: 56.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.2807, allocations: 5.608 MB / 499.2 MB, free: 49.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.2848, allocations: 6.718 MB / 0.4941 GB, free: 42.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.975e-05/0.2848, allocations: 33.38 kB / 0.4941 GB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.006889/0.2917, allocations: 4.864 MB / 0.4989 GB, free: 40.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/0.2918, allocations: 60.78 kB / 0.4989 GB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001432/0.2919, allocations: 118.5 kB / 0.4991 GB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.293, allocations: 480.7 kB / 0.4995 GB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/0.2952, allocations: 1.225 MB / 0.5007 GB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.2976, allocations: 3.024 MB / 0.5037 GB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.2997, allocations: 317.5 kB / 0.504 GB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/0.3001, allocations: 339.8 kB / 0.5043 GB, free: 37.59 MB / 410.7 MB 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.001029/0.3011, allocations: 0.5994 MB / 0.5049 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.3014, allocations: 324.7 kB / 0.5052 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.303, allocations: 1.098 MB / 0.5063 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.3031, allocations: 16.34 kB / 0.5063 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3031, allocations: 6.312 kB / 0.5063 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3031, allocations: 7.891 kB / 0.5063 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005101/0.3082, allocations: 4.315 MB / 0.5105 GB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3082, allocations: 3.219 kB / 0.5105 GB, free: 34.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.3087, allocations: 200.1 kB / 0.5107 GB, free: 34.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007965/0.3095, allocations: 304.5 kB / 0.511 GB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.3096, allocations: 25.41 kB / 0.511 GB, free: 34.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.3113, allocations: 2.723 MB / 0.5137 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3113, allocations: 7.969 kB / 0.5137 GB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.3136, allocations: 2.061 MB / 0.5157 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.3139, allocations: 287.9 kB / 0.516 GB, free: 31.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.314, allocations: 23.38 kB / 0.516 GB, free: 31.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.3147, allocations: 92.27 kB / 0.5161 GB, free: 31.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.3149, allocations: 111.1 kB / 0.5162 GB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/0.315, allocations: 35.83 kB / 0.5162 GB, free: 31.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001523/0.3165, allocations: 1.355 MB / 0.5175 GB, free: 30.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.3165, allocations: 0 / 0.5175 GB, free: 30.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00264/0.3191, allocations: 0.913 MB / 0.5184 GB, free: 30.33 MB / 410.7 MB 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.0002837/0.3194, allocations: 168.3 kB / 0.5186 GB, free: 30.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.3222, allocations: 2.593 MB / 0.5211 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3222, allocations: 384 / 0.5211 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.3229, allocations: 0.636 MB / 0.5217 GB, free: 27.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.324, allocations: 366.6 kB / 0.5221 GB, free: 26.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/0.3307, allocations: 6.525 MB / 0.5285 GB, free: 20.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009889/0.3317, allocations: 1.136 MB / 0.5296 GB, free: 20.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00186/0.3336, allocations: 1.451 MB / 0.531 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.3339, allocations: 203.4 kB / 0.5312 GB, free: 19.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3339, allocations: 3.938 kB / 0.5312 GB, free: 19.14 MB / 410.7 MB Notification: Performance of Templates: time 0.03162/0.3655, allocations: 25.18 MB / 0.5558 GB, free: 11.54 MB / 426.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.2749810689128935]