Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001781/0.001781, allocations: 74.66 kB / 19.93 MB, free: 1.781 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.002454/0.002454, allocations: 165.2 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2371/0.2371, allocations: 32.38 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 407.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.791e-05, allocations: 4.953 kB / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01412/0.01416, allocations: 9.9 MB / 417.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02435, allocations: 3.859 MB / 421.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00226/0.02661, allocations: 71.69 kB / 421.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006175/0.03278, allocations: 2.904 MB / 424.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006051/0.03883, allocations: 2.014 MB / 426.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.04089, allocations: 0.7638 MB / 426.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007659/0.04855, allocations: 4.557 MB / 431.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006296/0.05484, allocations: 3.279 MB / 434.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007142/0.06198, allocations: 2.44 MB / 437.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005588/0.06757, allocations: 2.377 MB / 439.5 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001712/0.06928, allocations: 376 kB / 439.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.07307, allocations: 1.205 MB / 441.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003605/0.07668, allocations: 2.189 MB / 443.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00432/0.081, allocations: 1.375 MB / 444.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.09314, allocations: 8.018 MB / 452.7 MB, free: 5.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.09314, allocations: 0 / 452.7 MB, free: 5.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09314, allocations: 4 kB / 452.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002482/0.09339, allocations: 0 / 452.7 MB, free: 5.488 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01267/0.1061, allocations: 5.025 MB / 457.7 MB, free: 412 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1061, allocations: 8.031 kB / 457.7 MB, free: 404 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/0.1248, allocations: 2.638 MB / 460.4 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00731/0.1321, allocations: 2.654 MB / 463 MB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.1324, allocations: 250.8 kB / 463.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/0.1337, allocations: 352.1 kB / 463.6 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2479/0.3816, allocations: 10.47 MB / 474.1 MB, free: 62.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.3818, allocations: 41.52 kB / 474.1 MB, free: 62.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006691/0.3825, allocations: 159.1 kB / 474.3 MB, free: 62.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004302/0.3868, allocations: 2.097 MB / 476.4 MB, free: 62.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02095/0.4077, allocations: 8.663 MB / 485 MB, free: 59.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04434/0.4521, allocations: 35.92 MB / 0.5087 GB, free: 30.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006011/0.4581, allocations: 2.491 MB / 0.5112 GB, free: 28.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.4604, allocations: 1.592 MB / 0.5127 GB, free: 26.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.4608, allocations: 97.22 kB / 0.5128 GB, free: 26.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.4609, allocations: 51.5 kB / 0.5129 GB, free: 26.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=176): time 5.871e-06/0.4609, allocations: 3.344 kB / 0.5129 GB, free: 26.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.03818/0.499, allocations: 15.09 MB / 0.5276 GB, free: 11.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.4991, allocations: 201.2 kB / 0.5278 GB, free: 11.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005763/0.5049, allocations: 3.764 MB / 0.5315 GB, free: 7.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003997/0.5053, allocations: 49.7 kB / 0.5315 GB, free: 7.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.507, allocations: 3.327 MB / 0.5348 GB, free: 4.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008828/0.5078, allocations: 0.7574 MB / 0.5355 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00219/0.51, allocations: 1.245 MB / 0.5367 GB, free: 2.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.5101, allocations: 312.8 kB / 0.537 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/0.5135, allocations: 2.253 MB / 0.5392 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009075/0.5226, allocations: 6 MB / 0.5451 GB, free: 7.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/0.5377, allocations: 8.832 MB / 0.5537 GB, free: 13.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000168/0.5379, allocations: 36 kB / 0.5537 GB, free: 13.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02484/0.5627, allocations: 8.46 MB / 0.562 GB, free: 4.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.563, allocations: 63.94 kB / 0.5621 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003444/0.5633, allocations: 132 kB / 0.5622 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/0.5657, allocations: 0.676 MB / 0.5628 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005906/0.5716, allocations: 1.45 MB / 0.5643 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/0.5786, allocations: 4.235 MB / 0.5684 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005556/0.5841, allocations: 397.8 kB / 0.5688 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/0.5854, allocations: 376 kB / 0.5691 GB, free: 13.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (764): * Single equations (assignments): 760 * 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,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005413/0.5908, allocations: 2.234 MB / 0.5713 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/0.5919, allocations: 321.8 kB / 0.5716 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007851/0.5998, allocations: 3.218 MB / 0.5748 GB, free: 7.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-05/0.5998, allocations: 22.27 kB / 0.5748 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.5999, allocations: 15.94 kB / 0.5748 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.5999, allocations: 7.969 kB / 0.5748 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.6182, allocations: 7.099 MB / 0.5817 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.6182, allocations: 0 / 0.5817 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/0.6201, allocations: 339.5 kB / 0.5821 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.6218, allocations: 0.4963 MB / 0.5826 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/0.6221, allocations: 47.91 kB / 0.5826 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005984/0.628, allocations: 3.802 MB / 0.5863 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.628, allocations: 0 / 0.5863 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.6402, allocations: 5.905 MB / 0.5921 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/0.6424, allocations: 0.5756 MB / 0.5926 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008706/0.6433, allocations: 35.94 kB / 0.5927 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.6456, allocations: 155.8 kB / 0.5928 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004447/0.646, allocations: 133.1 kB / 0.593 GB, free: 4.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.6462, allocations: 57.94 kB / 0.593 GB, free: 4.742 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00475/0.6509, allocations: 2.19 MB / 0.5951 GB, free: 2.559 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6509, allocations: 0 / 0.5951 GB, free: 2.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006112/0.6571, allocations: 1.102 MB / 0.5962 GB, free: 1.457 MB / 462.1 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 (164): * Single equations (assignments): 160 * 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.0007702/0.6578, allocations: 187.1 kB / 0.5964 GB, free: 1.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01088/0.6687, allocations: 5.151 MB / 0.6014 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6687, allocations: 0 / 0.6014 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003341/0.6721, allocations: 1.591 MB / 0.603 GB, free: 10.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/0.6754, allocations: 377.4 kB / 0.6033 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/0.6976, allocations: 9.685 MB / 0.6128 GB, free: 440 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006153/0.7037, allocations: 2.924 MB / 0.6157 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005527/0.7093, allocations: 1.903 MB / 0.6175 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.7106, allocations: 248.4 kB / 0.6178 GB, free: 11.31 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7106, allocations: 112 / 0.6178 GB, free: 11.31 MB / 494.1 MB Notification: Performance of Templates: time 0.07239/0.783, allocations: 30.82 MB / 0.6478 GB, free: 12.53 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.837806966155767]