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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 109.7 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.718/1.718, allocations: 207.6 MB / 232.1 MB, free: 11.11 MB / 190.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.2269/0.2269, allocations: 44.24 MB / 328.4 MB, free: 10.06 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 74.03 kB / 465.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1219, allocations: 61 MB / 0.5142 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01484/0.1368, allocations: 11.33 MB / 0.5253 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.1468, allocations: 4.089 MB / 0.5293 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.1497, allocations: 63.81 kB / 0.5293 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006395/0.1561, allocations: 2.873 MB / 0.5321 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.1626, allocations: 1.942 MB / 0.534 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.1646, allocations: 0.6979 MB / 0.5347 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2628/0.4274, allocations: 4.176 MB / 0.5388 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.4314, allocations: 2.754 MB / 0.5415 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.4345, allocations: 1.6 MB / 0.543 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004471/0.4389, allocations: 2.418 MB / 0.5454 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.4403, allocations: 374.5 kB / 0.5458 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.4431, allocations: 1.271 MB / 0.547 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00276/0.4458, allocations: 2.1 MB / 0.549 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003147/0.449, allocations: 2.381 MB / 0.5514 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.463, allocations: 7.926 MB / 0.5591 GB, free: 6.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.463, allocations: 0.5625 kB / 0.5591 GB, free: 6.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.463, allocations: 0 / 0.5591 GB, free: 6.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000418/0.4634, allocations: 3.5 kB / 0.5591 GB, free: 6.133 MB / 414.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.01612/0.4796, allocations: 5.104 MB / 0.5641 GB, free: 3.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4796, allocations: 16.66 kB / 0.5641 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/0.496, allocations: 2.564 MB / 0.5666 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007744/0.5038, allocations: 2.739 MB / 0.5693 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.504, allocations: 251.6 kB / 0.5695 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.5054, allocations: 336.2 kB / 0.5699 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/0.5253, allocations: 10.46 MB / 0.5801 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.5255, allocations: 40.8 kB / 0.5801 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000465/0.5259, allocations: 162.8 kB / 0.5803 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003146/0.5291, allocations: 2.089 MB / 0.5823 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.5465, allocations: 8.737 MB / 0.5908 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05876/0.6052, allocations: 38.49 MB / 0.6284 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/0.6115, allocations: 2.904 MB / 0.6313 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.6141, allocations: 1.591 MB / 0.6328 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/0.6146, allocations: 336.2 kB / 0.6331 GB, free: 6.113 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.6146, allocations: 50.75 kB / 0.6332 GB, free: 6.055 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.018e-06/0.6146, allocations: 4 kB / 0.6332 GB, free: 6.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03659/0.6512, allocations: 15.02 MB / 0.6479 GB, free: 6.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.6514, allocations: 200.7 kB / 0.6481 GB, free: 6.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006465/0.6579, allocations: 3.841 MB / 0.6518 GB, free: 2.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00048/0.6583, allocations: 61.64 kB / 0.6519 GB, free: 2.828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002897/0.6612, allocations: 3.32 MB / 0.6551 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/0.6624, allocations: 0.7714 MB / 0.6559 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.6643, allocations: 1.256 MB / 0.6571 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6645, allocations: 305.1 kB / 0.6574 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003836/0.6683, allocations: 2.257 MB / 0.6596 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008317/0.6766, allocations: 5.952 MB / 0.6654 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/0.6897, allocations: 8.832 MB / 0.674 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/0.6899, allocations: 36 kB / 0.6741 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01803/0.7079, allocations: 8.484 MB / 0.6823 GB, free: 132 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.708, allocations: 63.94 kB / 0.6824 GB, free: 68 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/0.7082, allocations: 132 kB / 0.6825 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.7099, allocations: 0.6895 MB / 0.6832 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005563/0.7155, allocations: 1.443 MB / 0.6846 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006397/0.7219, allocations: 4.383 MB / 0.6889 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005887/0.7278, allocations: 355.6 kB / 0.6892 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/0.7291, allocations: 378.5 kB / 0.6896 GB, free: 8.566 MB / 0.5294 GB 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.005289/0.7344, allocations: 2.229 MB / 0.6918 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008009/0.7352, allocations: 357.5 kB / 0.6921 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006624/0.7418, allocations: 3.255 MB / 0.6953 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-05/0.7419, allocations: 20 kB / 0.6953 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.7419, allocations: 4 kB / 0.6953 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.7419, allocations: 11.91 kB / 0.6953 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.7591, allocations: 8.134 MB / 0.7033 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.7591, allocations: 3.984 kB / 0.7033 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.7609, allocations: 331.5 kB / 0.7036 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.7623, allocations: 0.5041 MB / 0.7041 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.7625, allocations: 39.97 kB / 0.7041 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004923/0.7674, allocations: 3.915 MB / 0.7079 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.7674, allocations: 11.45 kB / 0.7079 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009937/0.7773, allocations: 5.954 MB / 0.7138 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/0.7793, allocations: 0.6586 MB / 0.7144 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.7797, allocations: 32 kB / 0.7144 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.7812, allocations: 115.8 kB / 0.7145 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/0.7816, allocations: 133.8 kB / 0.7147 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.7818, allocations: 58.64 kB / 0.7147 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004444/0.7862, allocations: 2.388 MB / 0.7171 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7862, allocations: 0 / 0.7171 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005834/0.792, allocations: 1.023 MB / 0.7181 GB, free: 11.2 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 (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.0005793/0.7926, allocations: 182.2 kB / 0.7182 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01015/0.8028, allocations: 5.136 MB / 0.7232 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.8028, allocations: 4 kB / 0.7233 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002958/0.8057, allocations: 1.583 MB / 0.7248 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.8087, allocations: 428.2 kB / 0.7252 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.8293, allocations: 9.805 MB / 0.7348 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004113/0.8334, allocations: 3.455 MB / 0.7382 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004564/0.838, allocations: 1.944 MB / 0.7401 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007919/0.8388, allocations: 251.4 kB / 0.7403 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of SimCode: time 1.423e-06/0.8388, allocations: 0 / 0.7403 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.3254/1.164, allocations: 35.82 MB / 0.7753 GB, free: 194.1 MB / 0.5919 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.3896819315850735]