Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002021/0.002021, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.465/1.465, allocations: 194.4 MB / 202.4 MB, free: 13.01 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001661/0.001661, allocations: 100.2 kB / 247.4 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.18/0.18, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.815e-05, allocations: 4 kB / 393.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2641, allocations: 54.89 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3776, allocations: 82.38 MB / 0.5181 GB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.3779, allocations: 59.97 kB / 0.5182 GB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2509/0.6287, allocations: 11.36 MB / 0.5293 GB, free: 86.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6288, allocations: 0 / 0.5293 GB, free: 86.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.085e-05/0.6289, allocations: 5.875 kB / 0.5293 GB, free: 86.7 MB / 378.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.002526/0.6314, allocations: 0.8615 MB / 0.5301 GB, free: 86.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.6315, allocations: 8.781 kB / 0.5301 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.6317, allocations: 58.53 kB / 0.5302 GB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/0.6324, allocations: 337.8 kB / 0.5305 GB, free: 86.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.6328, allocations: 255.2 kB / 0.5308 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.633, allocations: 23.38 kB / 0.5308 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001628/0.6346, allocations: 0.7966 MB / 0.5316 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.6357, allocations: 0.4955 MB / 0.5321 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.6357, allocations: 8.922 kB / 0.5321 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.6358, allocations: 0 / 0.5321 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.6358, allocations: 13.12 kB / 0.5321 GB, free: 85.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.6384, allocations: 1.326 MB / 0.5334 GB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.6398, allocations: 0.5615 MB / 0.5339 GB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.6403, allocations: 295 kB / 0.5342 GB, free: 85.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/0.6404, allocations: 8.578 kB / 0.5342 GB, free: 85.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.6404, allocations: 43.78 kB / 0.5342 GB, free: 85.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.396e-06/0.6404, allocations: 3.828 kB / 0.5343 GB, free: 85.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.02055/0.661, allocations: 7.091 MB / 0.5412 GB, free: 82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.6611, allocations: 92.86 kB / 0.5413 GB, free: 81.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.6614, allocations: 309.9 kB / 0.5416 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.6616, allocations: 29.7 kB / 0.5416 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.6617, allocations: 189.9 kB / 0.5418 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.662, allocations: 379.5 kB / 0.5421 GB, free: 81.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.6622, allocations: 4 kB / 0.5421 GB, free: 81.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6623, allocations: 372.9 kB / 0.5425 GB, free: 80.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.6635, allocations: 0.9437 MB / 0.5434 GB, free: 80.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.6649, allocations: 1.036 MB / 0.5444 GB, free: 79.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/0.6659, allocations: 0.7956 MB / 0.5452 GB, free: 79.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6659, allocations: 0 / 0.5452 GB, free: 79.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002652/0.6685, allocations: 1.956 MB / 0.5471 GB, free: 77.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.6686, allocations: 7.938 kB / 0.5471 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6686, allocations: 0 / 0.5471 GB, free: 77.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.6686, allocations: 8 kB / 0.5471 GB, free: 77.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.6714, allocations: 453.5 kB / 0.5476 GB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.6714, allocations: 6.953 kB / 0.5476 GB, free: 77.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/0.6734, allocations: 250.8 kB / 0.5478 GB, free: 76.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.6736, allocations: 47.45 kB / 0.5478 GB, free: 76.88 MB / 378.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 () * 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.0003461/0.6739, allocations: 126.4 kB / 0.548 GB, free: 76.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.6742, allocations: 66.25 kB / 0.548 GB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.6744, allocations: 92.22 kB / 0.5481 GB, free: 76.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6744, allocations: 12 kB / 0.5481 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.6744, allocations: 0 / 0.5481 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6745, allocations: 3.797 kB / 0.5481 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007264/0.6817, allocations: 4.55 MB / 0.5526 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/0.6818, allocations: 23.94 kB / 0.5526 GB, free: 72.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.6833, allocations: 414.4 kB / 0.553 GB, free: 72.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-05/0.6834, allocations: 28 kB / 0.553 GB, free: 72.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.635e-05/0.6835, allocations: 28 kB / 0.5531 GB, free: 72.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.101e-05/0.6835, allocations: 39.86 kB / 0.5531 GB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/0.6835, allocations: 31.88 kB / 0.5531 GB, free: 71.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.6859, allocations: 3.245 MB / 0.5563 GB, free: 67.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.6862, allocations: 240.3 kB / 0.5565 GB, free: 67.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6863, allocations: 31.98 kB / 0.5565 GB, free: 67.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.6877, allocations: 231.8 kB / 0.5568 GB, free: 67.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/0.688, allocations: 243.2 kB / 0.557 GB, free: 67.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/0.6881, allocations: 56 kB / 0.5571 GB, free: 67.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002107/0.6883, allocations: 237.9 kB / 0.5573 GB, free: 66.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.6883, allocations: 0 / 0.5573 GB, free: 66.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000879/0.6892, allocations: 195.9 kB / 0.5575 GB, free: 66.61 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 () * 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.0001938/0.6894, allocations: 148.2 kB / 0.5576 GB, free: 66.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.6914, allocations: 1.595 MB / 0.5592 GB, free: 64.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6914, allocations: 4 kB / 0.5592 GB, free: 64.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.693, allocations: 0.7618 MB / 0.5599 GB, free: 64.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/0.6938, allocations: 111.1 kB / 0.56 GB, free: 63.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6962, allocations: 1.597 MB / 0.5616 GB, free: 62.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.6966, allocations: 0.9244 MB / 0.5625 GB, free: 61.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001517/0.6981, allocations: 189.7 kB / 0.5627 GB, free: 60.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/0.6988, allocations: 63.42 kB / 0.5627 GB, free: 60.88 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6988, allocations: 4 kB / 0.5627 GB, free: 60.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01714/0.716, allocations: 14.39 MB / 0.5768 GB, free: 46.5 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1)