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.001356/0.001356, allocations: 104.3 kB / 19.7 MB, free: 1.801 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.00151/0.00151, allocations: 208.3 kB / 22.98 MB, free: 4.598 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.66/1.66, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2367/0.2367, allocations: 44.27 MB / 330.3 MB, free: 9.305 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 75.89 kB / 468 MB, free: 3.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1351, allocations: 61.03 MB / 0.5166 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01358/0.1487, allocations: 9.884 MB / 0.5263 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009274/0.158, allocations: 3.864 MB / 0.5301 GB, free: 8.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.1602, allocations: 71.75 kB / 0.5301 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005826/0.166, allocations: 2.757 MB / 0.5328 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.1715, allocations: 1.961 MB / 0.5347 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.1734, allocations: 0.7057 MB / 0.5354 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2568/0.4302, allocations: 4.178 MB / 0.5395 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004202/0.4344, allocations: 3.002 MB / 0.5424 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.4373, allocations: 1.626 MB / 0.544 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.4408, allocations: 2.283 MB / 0.5463 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009608/0.4418, allocations: 374 kB / 0.5466 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.4444, allocations: 1.148 MB / 0.5477 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002668/0.4471, allocations: 2.101 MB / 0.5498 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002949/0.45, allocations: 1.757 MB / 0.5515 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.4643, allocations: 7.957 MB / 0.5593 GB, free: 7.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.4643, allocations: 2.812 kB / 0.5593 GB, free: 7.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4643, allocations: 0 / 0.5593 GB, free: 7.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003882/0.4647, allocations: 3.938 kB / 0.5593 GB, free: 7.484 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.01662/0.4814, allocations: 5.026 MB / 0.5642 GB, free: 4.734 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.4814, allocations: 8.812 kB / 0.5642 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/0.4988, allocations: 2.563 MB / 0.5667 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007669/0.5064, allocations: 2.682 MB / 0.5693 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002282/0.5067, allocations: 253.4 kB / 0.5696 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008506/0.5075, allocations: 334.9 kB / 0.5699 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.526, allocations: 10.51 MB / 0.5801 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.5261, allocations: 48.91 kB / 0.5802 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004818/0.5266, allocations: 158.5 kB / 0.5803 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003371/0.53, allocations: 2.088 MB / 0.5824 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/0.5483, allocations: 8.717 MB / 0.5909 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06321/0.6115, allocations: 35.78 MB / 0.6258 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006736/0.6182, allocations: 2.44 MB / 0.6282 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003172/0.6214, allocations: 1.59 MB / 0.6298 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.6218, allocations: 100.2 kB / 0.6299 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.437e-05/0.6219, allocations: 55.88 kB / 0.6299 GB, free: 12.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 6.473e-06/0.6219, allocations: 4 kB / 0.6299 GB, free: 12.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.04581/0.6677, allocations: 14.79 MB / 0.6444 GB, free: 13.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.6679, allocations: 201.2 kB / 0.6446 GB, free: 13.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007591/0.6755, allocations: 3.634 MB / 0.6481 GB, free: 9.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004992/0.676, allocations: 57.7 kB / 0.6482 GB, free: 9.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002963/0.6789, allocations: 3.361 MB / 0.6514 GB, free: 6.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.6801, allocations: 0.7704 MB / 0.6522 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002773/0.6829, allocations: 1.26 MB / 0.6534 GB, free: 4.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.683, allocations: 301.1 kB / 0.6537 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004243/0.6873, allocations: 2.257 MB / 0.6559 GB, free: 1.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008341/0.6956, allocations: 6.002 MB / 0.6618 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01468/0.7103, allocations: 8.83 MB / 0.6704 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002083/0.7105, allocations: 36 kB / 0.6704 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02185/0.7323, allocations: 8.46 MB / 0.6787 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.7325, allocations: 60 kB / 0.6788 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002815/0.7328, allocations: 135.9 kB / 0.6789 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.7349, allocations: 0.6852 MB / 0.6796 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006038/0.7409, allocations: 1.446 MB / 0.681 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.7475, allocations: 4.203 MB / 0.6851 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005237/0.7527, allocations: 362.3 kB / 0.6854 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/0.7541, allocations: 380 kB / 0.6858 GB, free: 15.28 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.005875/0.76, allocations: 2.223 MB / 0.6879 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/0.761, allocations: 321.8 kB / 0.6883 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007848/0.7689, allocations: 3.222 MB / 0.6914 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.43e-05/0.7689, allocations: 20 kB / 0.6914 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.7689, allocations: 7.938 kB / 0.6914 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.769, allocations: 13.78 kB / 0.6914 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/0.7889, allocations: 7.012 MB / 0.6983 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.7889, allocations: 11.92 kB / 0.6983 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/0.7908, allocations: 335.5 kB / 0.6986 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/0.7925, allocations: 0.5017 MB / 0.6991 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00034/0.7928, allocations: 43.97 kB / 0.6992 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005615/0.7984, allocations: 3.761 MB / 0.7028 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.7984, allocations: 0 / 0.7028 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/0.8108, allocations: 5.91 MB / 0.7086 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/0.8131, allocations: 0.5561 MB / 0.7091 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/0.8142, allocations: 39.41 kB / 0.7092 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/0.8165, allocations: 119.9 kB / 0.7093 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004762/0.8169, allocations: 135.7 kB / 0.7094 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/0.8172, allocations: 59.97 kB / 0.7095 GB, free: 6.863 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005156/0.8223, allocations: 2.088 MB / 0.7115 GB, free: 4.781 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8223, allocations: 0 / 0.7115 GB, free: 4.781 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007176/0.8295, allocations: 1.016 MB / 0.7125 GB, free: 3.766 MB / 0.545 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.0008407/0.8303, allocations: 161.6 kB / 0.7127 GB, free: 3.602 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01137/0.8417, allocations: 5.14 MB / 0.7177 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8417, allocations: 384 / 0.7177 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003413/0.8451, allocations: 1.595 MB / 0.7192 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.8486, allocations: 363.3 kB / 0.7196 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/0.873, allocations: 9.751 MB / 0.7291 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007311/0.8803, allocations: 2.927 MB / 0.732 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006503/0.8868, allocations: 1.9 MB / 0.7338 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/0.888, allocations: 243.4 kB / 0.7341 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/0.888, allocations: 0 / 0.7341 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.3013/1.189, allocations: 33.98 MB / 0.7672 GB, free: 196.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.625673972070217]