Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.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.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00845/0.00845, allocations: 165.5 kB / 15.11 MB, free: 5.973 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.225/1.225, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001606/0.001606, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.334/0.334, allocations: 38.05 MB / 303.7 MB, free: 42.65 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 8 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1052, allocations: 48.7 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.321/0.4262, allocations: 76.75 MB / 488.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.4265, allocations: 66.28 kB / 488.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0295/0.456, allocations: 11.43 MB / 499.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.456, allocations: 0 / 499.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.593e-05/0.4561, allocations: 8 kB / 499.8 MB, free: 1.191 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002395/0.4585, allocations: 0.9079 MB / 0.489 GB, free: 276 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.4585, allocations: 12.03 kB / 0.489 GB, free: 264 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.4588, allocations: 58.7 kB / 0.4891 GB, free: 208 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.4596, allocations: 354.2 kB / 0.4894 GB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/0.4601, allocations: 269.6 kB / 0.4897 GB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.4603, allocations: 34.56 kB / 0.4897 GB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.4624, allocations: 0.8092 MB / 0.4905 GB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.4625, allocations: 4 kB / 0.4905 GB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.4625, allocations: 17 kB / 0.4905 GB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.4626, allocations: 12 kB / 0.4905 GB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/0.4661, allocations: 1.32 MB / 0.4918 GB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.4687, allocations: 1.397 MB / 0.4932 GB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.4714, allocations: 0.8754 MB / 0.494 GB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.204e-05/0.4715, allocations: 12.53 kB / 0.494 GB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.4715, allocations: 42.88 kB / 0.4941 GB, free: 11.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.936e-06/0.4716, allocations: 0 / 0.4941 GB, free: 11.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.08985/0.5614, allocations: 18.27 MB / 0.5119 GB, free: 11.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.5615, allocations: 90.23 kB / 0.512 GB, free: 11.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005572/0.5621, allocations: 334.1 kB / 0.5123 GB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.5623, allocations: 45.14 kB / 0.5124 GB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5625, allocations: 181.7 kB / 0.5125 GB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.5629, allocations: 402.3 kB / 0.5129 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.5631, allocations: 25.62 kB / 0.5129 GB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5633, allocations: 369.1 kB / 0.5133 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.5668, allocations: 1.456 MB / 0.5147 GB, free: 9.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003648/0.5705, allocations: 1.557 MB / 0.5162 GB, free: 7.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.5738, allocations: 1.3 MB / 0.5175 GB, free: 6.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5738, allocations: 0 / 0.5175 GB, free: 6.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.007598/0.5814, allocations: 3.018 MB / 0.5204 GB, free: 3.422 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.5814, allocations: 4 kB / 0.5205 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5815, allocations: 3.844 kB / 0.5205 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.5815, allocations: 8 kB / 0.5205 GB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.5843, allocations: 467.4 kB / 0.5209 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.91e-05/0.5843, allocations: 4 kB / 0.5209 GB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.5864, allocations: 271.7 kB / 0.5212 GB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.5866, allocations: 47.94 kB / 0.5212 GB, free: 2.637 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (kinematicPTP2a.noWphase,kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP1a.noWphase,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP1b.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005931/0.5872, allocations: 220.6 kB / 0.5214 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.5875, allocations: 59.25 kB / 0.5215 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.5878, allocations: 111.7 kB / 0.5216 GB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.5878, allocations: 12 kB / 0.5216 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.5879, allocations: 0 / 0.5216 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.5879, allocations: 7.969 kB / 0.5216 GB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.6003, allocations: 5.582 MB / 0.5271 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-05/0.6004, allocations: 20 kB / 0.5271 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.602, allocations: 411.4 kB / 0.5275 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.069e-05/0.6021, allocations: 28 kB / 0.5275 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.6022, allocations: 55.92 kB / 0.5276 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.792e-05/0.6023, allocations: 43.81 kB / 0.5276 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-05/0.6023, allocations: 31.88 kB / 0.5276 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008511/0.6108, allocations: 4.533 MB / 0.5321 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.6115, allocations: 240.4 kB / 0.5323 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/0.6118, allocations: 55.94 kB / 0.5323 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.6134, allocations: 247.8 kB / 0.5326 GB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006349/0.6141, allocations: 239.2 kB / 0.5328 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.6143, allocations: 56 kB / 0.5329 GB, free: 5.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004979/0.6148, allocations: 249.9 kB / 0.5331 GB, free: 5.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6148, allocations: 0 / 0.5331 GB, free: 5.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001525/0.6164, allocations: 232 kB / 0.5333 GB, free: 5.012 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003861/0.6168, allocations: 182.7 kB / 0.5335 GB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006612/0.6234, allocations: 2.567 MB / 0.536 GB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/0.6234, allocations: 0 / 0.536 GB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/0.6272, allocations: 1.214 MB / 0.5372 GB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6286, allocations: 129.8 kB / 0.5373 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.6333, allocations: 2.111 MB / 0.5394 GB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.634, allocations: 0.9202 MB / 0.5403 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00147/0.6355, allocations: 193.6 kB / 0.5404 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.6362, allocations: 63.42 kB / 0.5405 GB, free: 13.3 MB / 394.7 MB Notification: Performance of SimCode: time 2.084e-06/0.6362, allocations: 3.938 kB / 0.5405 GB, free: 13.3 MB / 394.7 MB Notification: Performance of Templates: time 0.02835/0.6645, allocations: 14.76 MB / 0.5549 GB, free: 14.56 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1)