Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009683/0.0009683, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002537, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009406/0.0009406, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002304, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1179/1.156, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2984/0.2984, allocations: 32.81 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02926/0.3276, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.813e-05, allocations: 3.297 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.008215/0.008233, allocations: 9.151 MB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007434/0.01567, allocations: 3.901 MB / 303.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.01684, allocations: 59.75 kB / 303.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003013/0.01985, allocations: 2.803 MB / 306.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.02312, allocations: 1.699 MB / 308.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.02444, allocations: 0.721 MB / 309 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004155/0.0286, allocations: 4.034 MB / 313 MB, free: 1.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.03096, allocations: 2.918 MB / 315.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.03363, allocations: 2.553 MB / 318.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.03543, allocations: 1.968 MB / 320.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003179/0.03575, allocations: 320 kB / 320.7 MB, free: 10 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.0371, allocations: 1.174 MB / 321.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009901/0.03809, allocations: 1.668 MB / 323.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008025/0.03889, allocations: 0.9504 MB / 324.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.04236, allocations: 4.056 MB / 328.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.636e-05/0.04237, allocations: 0 / 328.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.04238, allocations: 4 kB / 328.6 MB, free: 2.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.305e-05/0.04243, allocations: 0 / 328.6 MB, free: 2.125 MB / 314.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.005385/0.04781, allocations: 4.943 MB / 333.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.04786, allocations: 8.031 kB / 333.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.05092, allocations: 1.124 MB / 334.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.05295, allocations: 1.713 MB / 336.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.05307, allocations: 222 kB / 336.6 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003315/0.0534, allocations: 292.2 kB / 336.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.05789, allocations: 4.373 MB / 341.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.875e-05/0.05798, allocations: 43.64 kB / 341.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/0.05829, allocations: 143.9 kB / 341.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001286/0.05958, allocations: 1.458 MB / 342.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/0.06237, allocations: 2.061 MB / 345 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/0.08441, allocations: 27.3 MB / 372.3 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.08639, allocations: 0.855 MB / 373.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.08669, allocations: 204.9 kB / 373.3 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004246/0.09093, allocations: 2.421 MB / 375.7 MB, free: 1.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.09098, allocations: 54.98 kB / 375.8 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=101): time 6.181e-06/0.09098, allocations: 0 / 375.8 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.008426/0.09941, allocations: 2.985 MB / 378.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.09953, allocations: 148.9 kB / 378.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/0.1032, allocations: 2.882 MB / 381.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.1033, allocations: 41.7 kB / 381.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.1053, allocations: 2.848 MB / 384.7 MB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005272/0.1058, allocations: 496.3 kB / 385.2 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009073/0.1067, allocations: 1.032 MB / 386.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.1068, allocations: 305.1 kB / 386.5 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009014/0.1077, allocations: 0.6192 MB / 387.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.111, allocations: 4.039 MB / 391.2 MB, free: 15.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005074/0.1161, allocations: 5.102 MB / 396.3 MB, free: 8.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.464e-05/0.1162, allocations: 36 kB / 396.3 MB, free: 8.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.005769/0.1219, allocations: 3.598 MB / 399.9 MB, free: 5.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.122, allocations: 60 kB / 400 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.1221, allocations: 124.8 kB / 400.1 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003924/0.1225, allocations: 207.6 kB / 400.3 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/0.1253, allocations: 1.357 MB / 401.6 MB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.1264, allocations: 1.444 MB / 403.1 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.1291, allocations: 263.6 kB / 403.3 MB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/0.1294, allocations: 292 kB / 403.6 MB, free: 1.324 MB / 394.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.001298/0.1307, allocations: 0.5683 MB / 404.2 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/0.1311, allocations: 167.8 kB / 404.4 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/0.1319, allocations: 0.5241 MB / 404.9 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.1319, allocations: 15.98 kB / 404.9 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1319, allocations: 0 / 404.9 MB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1319, allocations: 7.984 kB / 404.9 MB, free: 16 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.1357, allocations: 2.795 MB / 407.7 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.1357, allocations: 8 kB / 407.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008273/0.1365, allocations: 199.7 kB / 407.9 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.1369, allocations: 257.9 kB / 408.2 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003229/0.1372, allocations: 212.9 kB / 408.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.1373, allocations: 19.98 kB / 408.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006822/0.138, allocations: 1.21 MB / 409.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.138, allocations: 12.06 kB / 409.6 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.1392, allocations: 1.242 MB / 410.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.1394, allocations: 20 kB / 410.9 MB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.1399, allocations: 35.97 kB / 410.9 MB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.14, allocations: 76.25 kB / 411 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.1401, allocations: 27.98 kB / 411 MB, free: 9.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009514/0.141, allocations: 1.027 MB / 412 MB, free: 8.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.141, allocations: 3.938 kB / 412 MB, free: 8.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003077/0.1441, allocations: 0.8359 MB / 412.9 MB, free: 7.84 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.0003497/0.1445, allocations: 144.1 kB / 413 MB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0035/0.148, allocations: 2.063 MB / 415.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002019/0.1482, allocations: 101.4 kB / 415.2 MB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.1486, allocations: 365.1 kB / 415.5 MB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.1511, allocations: 0.7408 MB / 416.3 MB, free: 4.414 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.1649, allocations: 6.44 MB / 422.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.1659, allocations: 1.107 MB / 423.8 MB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001326/0.1672, allocations: 422.8 kB / 424.2 MB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/0.1679, allocations: 473.2 kB / 424.7 MB, free: 11.88 MB / 426.7 MB Notification: Performance of SimCode: time 3.346e-06/0.1679, allocations: 0 / 424.7 MB, free: 11.88 MB / 426.7 MB Notification: Performance of Templates: time 0.2049/0.3727, allocations: 22.06 MB / 446.7 MB, free: 112.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.005231725983322]