Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00811/0.00811, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.327/1.327, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001589/0.001589, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3493/0.3493, allocations: 38.06 MB / 303.7 MB, free: 42.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 11.98 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1129, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3411/0.4541, allocations: 97.08 MB / 0.4967 GB, free: 6.852 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.4545, allocations: 81.95 kB / 0.4968 GB, free: 6.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2349/0.6894, allocations: 91.06 MB / 0.5857 GB, free: 436 kB / 426.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.6895, allocations: 0 / 0.5857 GB, free: 436 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00021/0.6897, allocations: 83.94 kB / 0.5858 GB, free: 352 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.2761/0.9658, allocations: 4.393 MB / 0.5901 GB, free: 77.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.9659, allocations: 9.156 kB / 0.5901 GB, free: 77.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02038/0.9863, allocations: 4.435 MB / 0.5944 GB, free: 76.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.002, allocations: 4.749 MB / 0.5991 GB, free: 76.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/1.003, allocations: 347.9 kB / 0.5994 GB, free: 76.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002712/1.006, allocations: 463.7 kB / 0.5999 GB, free: 76.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/1.03, allocations: 10.68 MB / 0.6103 GB, free: 73.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003439/1.03, allocations: 63.67 kB / 0.6103 GB, free: 73.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/1.032, allocations: 220.5 kB / 0.6106 GB, free: 73.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001359/1.033, allocations: 0.9909 MB / 0.6115 GB, free: 73.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/1.054, allocations: 8.654 MB / 0.62 GB, free: 73.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05945/1.114, allocations: 46.88 MB / 0.6658 GB, free: 40.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006007/1.12, allocations: 3.013 MB / 0.6687 GB, free: 39.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004148/1.121, allocations: 333.4 kB / 0.669 GB, free: 39.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.121, allocations: 58.22 kB / 0.6691 GB, free: 39.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 4.999e-06/1.121, allocations: 0 / 0.6691 GB, free: 39.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.02787/1.148, allocations: 13.9 MB / 0.6826 GB, free: 33.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/1.149, allocations: 198.7 kB / 0.6828 GB, free: 32.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/1.154, allocations: 3.385 MB / 0.6861 GB, free: 31.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000353/1.154, allocations: 53.14 kB / 0.6862 GB, free: 31.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001939/1.156, allocations: 3.22 MB / 0.6893 GB, free: 29.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007517/1.157, allocations: 0.7354 MB / 0.6901 GB, free: 28.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/1.157, allocations: 115.2 kB / 0.6902 GB, free: 28.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002841/1.157, allocations: 0.5579 MB / 0.6907 GB, free: 28.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/1.16, allocations: 2.125 MB / 0.6928 GB, free: 27.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/1.165, allocations: 5.769 MB / 0.6984 GB, free: 21.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/1.17, allocations: 3.424 MB / 0.7018 GB, free: 20.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.708e-05/1.17, allocations: 34.34 kB / 0.7018 GB, free: 20.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01333/1.183, allocations: 7.877 MB / 0.7095 GB, free: 17.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.299e-05/1.183, allocations: 57.56 kB / 0.7095 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/1.184, allocations: 131.7 kB / 0.7097 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008139/1.184, allocations: 386.1 kB / 0.71 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004681/1.189, allocations: 1.427 MB / 0.7114 GB, free: 17.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/1.192, allocations: 3.046 MB / 0.7144 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005153/1.198, allocations: 353.2 kB / 0.7147 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/1.199, allocations: 371.1 kB / 0.7151 GB, free: 14.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (744): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005422/1.204, allocations: 2.218 MB / 0.7173 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009285/1.205, allocations: 347.6 kB / 0.7176 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004844/1.21, allocations: 2.818 MB / 0.7203 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.21, allocations: 20 kB / 0.7204 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.21, allocations: 7.844 kB / 0.7204 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.21, allocations: 6.609 kB / 0.7204 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.224, allocations: 7.655 MB / 0.7278 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/1.224, allocations: 7.734 kB / 0.7279 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/1.225, allocations: 345.9 kB / 0.7282 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005125/1.226, allocations: 187 kB / 0.7284 GB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.226, allocations: 35.36 kB / 0.7284 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002462/1.229, allocations: 2.604 MB / 0.7309 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.229, allocations: 4.031 kB / 0.7309 GB, free: 368 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008254/1.237, allocations: 5.456 MB / 0.7363 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/1.239, allocations: 0.6372 MB / 0.7369 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/1.24, allocations: 28 kB / 0.7369 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.241, allocations: 122.6 kB / 0.737 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/1.241, allocations: 121.1 kB / 0.7372 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.241, allocations: 59.97 kB / 0.7372 GB, free: 10.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004119/1.246, allocations: 2.363 MB / 0.7395 GB, free: 8.809 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.246, allocations: 4 kB / 0.7395 GB, free: 8.805 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005706/1.251, allocations: 0.9854 MB / 0.7405 GB, free: 7.824 MB / 442.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 (164): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004814/1.252, allocations: 173.5 kB / 0.7406 GB, free: 7.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008896/1.261, allocations: 5.101 MB / 0.7456 GB, free: 3.215 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.261, allocations: 4 kB / 0.7456 GB, free: 3.211 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002805/1.264, allocations: 1.644 MB / 0.7472 GB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/1.266, allocations: 388.6 kB / 0.7476 GB, free: 1.453 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2863/1.553, allocations: 11.18 MB / 0.7585 GB, free: 79.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005673/1.558, allocations: 3.547 MB / 0.762 GB, free: 79.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005783/1.564, allocations: 1.945 MB / 0.7639 GB, free: 79.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008707/1.565, allocations: 252.7 kB / 0.7641 GB, free: 79.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/1.565, allocations: 0 / 0.7641 GB, free: 79.13 MB / 442.7 MB Notification: Performance of Templates: time 0.08125/1.646, allocations: 32.46 MB / 0.7958 GB, free: 77.83 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)