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.006699/0.006699, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.501/1.501, allocations: 194.5 MB / 210.3 MB, free: 7.527 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.001685/0.001685, allocations: 116.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2308/0.2308, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004072, allocations: 11.72 kB / 406.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1222, allocations: 54.88 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.2687, allocations: 83.13 MB / 0.5314 GB, free: 52 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.295/0.5637, allocations: 67.53 kB / 0.5315 GB, free: 83.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03668/0.6004, allocations: 11.44 MB / 0.5426 GB, free: 81.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6005, allocations: 0 / 0.5426 GB, free: 81.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.915e-05/0.6005, allocations: 7.188 kB / 0.5426 GB, free: 81.46 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.002259/0.6028, allocations: 0.9052 MB / 0.5435 GB, free: 80.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.6029, allocations: 9.781 kB / 0.5435 GB, free: 80.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.603, allocations: 58.09 kB / 0.5436 GB, free: 80.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.6035, allocations: 349.7 kB / 0.5439 GB, free: 80.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/0.6039, allocations: 268.5 kB / 0.5442 GB, free: 80.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.604, allocations: 41.72 kB / 0.5442 GB, free: 80.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.6062, allocations: 0.8067 MB / 0.545 GB, free: 79.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.6062, allocations: 4 kB / 0.545 GB, free: 79.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/0.6063, allocations: 15.91 kB / 0.545 GB, free: 79.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.6063, allocations: 13.48 kB / 0.545 GB, free: 79.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003769/0.6101, allocations: 1.318 MB / 0.5463 GB, free: 79.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.6127, allocations: 1.404 MB / 0.5477 GB, free: 78.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/0.6153, allocations: 0.8727 MB / 0.5485 GB, free: 77.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.806e-05/0.6154, allocations: 7.562 kB / 0.5486 GB, free: 77.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.6154, allocations: 43.03 kB / 0.5486 GB, free: 77.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.735e-06/0.6154, allocations: 0 / 0.5486 GB, free: 77.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.08624/0.7017, allocations: 18.28 MB / 0.5665 GB, free: 59.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.7018, allocations: 90.23 kB / 0.5665 GB, free: 59.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.7022, allocations: 330 kB / 0.5669 GB, free: 59.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.7023, allocations: 45.7 kB / 0.5669 GB, free: 59.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.7025, allocations: 185.4 kB / 0.5671 GB, free: 58.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.7028, allocations: 406 kB / 0.5675 GB, free: 58.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.7029, allocations: 24 kB / 0.5675 GB, free: 58.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.703, allocations: 366.8 kB / 0.5678 GB, free: 58.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/0.706, allocations: 1.459 MB / 0.5693 GB, free: 56.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003133/0.7092, allocations: 1.553 MB / 0.5708 GB, free: 54.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.7122, allocations: 1.298 MB / 0.572 GB, free: 53.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7122, allocations: 7.938 kB / 0.572 GB, free: 53.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00662/0.7188, allocations: 3.015 MB / 0.575 GB, free: 50.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.7189, allocations: 11.95 kB / 0.575 GB, free: 50.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.7189, allocations: 0 / 0.575 GB, free: 50.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.7189, allocations: 8 kB / 0.575 GB, free: 50.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/0.7215, allocations: 455.4 kB / 0.5754 GB, free: 50.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.7216, allocations: 11.94 kB / 0.5755 GB, free: 50.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.7235, allocations: 271.7 kB / 0.5757 GB, free: 49.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.7237, allocations: 47.98 kB / 0.5758 GB, free: 49.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 () * 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.0004668/0.7242, allocations: 221.6 kB / 0.576 GB, free: 49.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.7244, allocations: 59.25 kB / 0.576 GB, free: 49.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.7246, allocations: 107.7 kB / 0.5761 GB, free: 49.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.7246, allocations: 16 kB / 0.5761 GB, free: 49.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.7246, allocations: 0 / 0.5761 GB, free: 49.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.7247, allocations: 7.969 kB / 0.5762 GB, free: 49.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.7348, allocations: 5.579 MB / 0.5816 GB, free: 43.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.7349, allocations: 20 kB / 0.5816 GB, free: 43.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.7363, allocations: 419.4 kB / 0.582 GB, free: 43.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-05/0.7363, allocations: 28 kB / 0.582 GB, free: 43.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/0.7364, allocations: 48 kB / 0.5821 GB, free: 43.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.228e-05/0.7365, allocations: 39.86 kB / 0.5821 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/0.7365, allocations: 31.88 kB / 0.5822 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/0.7433, allocations: 4.538 MB / 0.5866 GB, free: 37.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005082/0.7439, allocations: 240.4 kB / 0.5868 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.744, allocations: 47.98 kB / 0.5869 GB, free: 37.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.7453, allocations: 255.8 kB / 0.5871 GB, free: 37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/0.7457, allocations: 235.2 kB / 0.5873 GB, free: 36.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/0.7458, allocations: 56 kB / 0.5874 GB, free: 36.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002715/0.7461, allocations: 249.9 kB / 0.5876 GB, free: 36.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7461, allocations: 0 / 0.5876 GB, free: 36.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009508/0.747, allocations: 240 kB / 0.5879 GB, free: 36.24 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.0002308/0.7473, allocations: 174.7 kB / 0.588 GB, free: 36.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005523/0.7528, allocations: 2.57 MB / 0.5905 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.7528, allocations: 4 kB / 0.5905 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/0.756, allocations: 1.211 MB / 0.5917 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.7571, allocations: 140.3 kB / 0.5919 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.7607, allocations: 2.106 MB / 0.5939 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.7611, allocations: 0.9241 MB / 0.5948 GB, free: 28.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001283/0.7623, allocations: 185.6 kB / 0.595 GB, free: 28.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/0.7629, allocations: 67.41 kB / 0.5951 GB, free: 28.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.084e-06/0.7629, allocations: 0 / 0.5951 GB, free: 28.53 MB / 378.7 MB Notification: Performance of Templates: time 0.02117/0.7841, allocations: 14.74 MB / 0.6095 GB, free: 13.79 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)