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.001564/0.001564, allocations: 170.1 kB / 12.72 MB, free: 2.594 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.239/1.239, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001568/0.001569, allocations: 99.52 kB / 223.2 MB, free: 4.055 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.1616/0.1616, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.532e-05/2.534e-05, allocations: 4 kB / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.07879, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2899/0.3688, allocations: 76.66 MB / 482.3 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.369, allocations: 64.55 kB / 482.4 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03245/0.4014, allocations: 11.4 MB / 493.8 MB, free: 17.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4015, allocations: 0 / 493.8 MB, free: 17.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.4015, allocations: 7.781 kB / 493.8 MB, free: 17.63 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.001698/0.4032, allocations: 0.8689 MB / 494.7 MB, free: 17.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4033, allocations: 11.44 kB / 494.7 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.985e-05/0.4034, allocations: 60.06 kB / 494.8 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.4038, allocations: 337 kB / 495.1 MB, free: 16.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/0.4041, allocations: 271.4 kB / 495.4 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.4042, allocations: 42.91 kB / 495.4 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.405, allocations: 0.5591 MB / 496 MB, free: 16.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4051, allocations: 4 kB / 496 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.4051, allocations: 14.84 kB / 496 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.4051, allocations: 7.781 kB / 496 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4063, allocations: 0.8089 MB / 496.8 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.4085, allocations: 1.405 MB / 498.2 MB, free: 16.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.4097, allocations: 0.5961 MB / 498.8 MB, free: 16.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.4101, allocations: 311.5 kB / 499.1 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.4102, allocations: 12.05 kB / 499.1 MB, free: 16.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.4103, allocations: 42.81 kB / 499.2 MB, free: 16.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=66): time 2.795e-06/0.4103, allocations: 3.938 kB / 499.2 MB, free: 16.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.01762/0.4279, allocations: 7.38 MB / 0.4947 GB, free: 13.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.428, allocations: 97.69 kB / 0.4948 GB, free: 13.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.4283, allocations: 326.7 kB / 0.4951 GB, free: 13.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.4284, allocations: 51.64 kB / 0.4951 GB, free: 13.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.4285, allocations: 180.8 kB / 0.4953 GB, free: 13.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.4287, allocations: 403.5 kB / 0.4957 GB, free: 13.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4289, allocations: 22.19 kB / 0.4957 GB, free: 13.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.429, allocations: 364.5 kB / 0.496 GB, free: 12.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.4303, allocations: 0.9669 MB / 0.497 GB, free: 12.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.4315, allocations: 1.069 MB / 0.498 GB, free: 12.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.4326, allocations: 0.8172 MB / 0.4988 GB, free: 12.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4326, allocations: 0 / 0.4988 GB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002783/0.4354, allocations: 2.033 MB / 0.5008 GB, free: 12.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4354, allocations: 7.859 kB / 0.5008 GB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4355, allocations: 0 / 0.5008 GB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4355, allocations: 7.719 kB / 0.5008 GB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.4381, allocations: 460.4 kB / 0.5013 GB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.4381, allocations: 7.781 kB / 0.5013 GB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4399, allocations: 277.7 kB / 0.5015 GB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.4401, allocations: 38.73 kB / 0.5016 GB, free: 12.2 MB / 330.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.0003034/0.4404, allocations: 160.7 kB / 0.5017 GB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.4406, allocations: 66.44 kB / 0.5018 GB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.4408, allocations: 106.5 kB / 0.5019 GB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.4409, allocations: 15.69 kB / 0.5019 GB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4409, allocations: 0 / 0.5019 GB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4409, allocations: 15.92 kB / 0.5019 GB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007123/0.448, allocations: 4.761 MB / 0.5066 GB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.4481, allocations: 22.81 kB / 0.5066 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.4495, allocations: 411.7 kB / 0.507 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-05/0.4495, allocations: 31.12 kB / 0.507 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.4496, allocations: 50.75 kB / 0.5071 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.019e-05/0.4496, allocations: 43 kB / 0.5071 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/0.4497, allocations: 35.44 kB / 0.5071 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.4524, allocations: 3.307 MB / 0.5104 GB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.4527, allocations: 242.6 kB / 0.5106 GB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.4529, allocations: 54.72 kB / 0.5107 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.4542, allocations: 253.6 kB / 0.5109 GB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003727/0.4545, allocations: 236 kB / 0.5111 GB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/0.4546, allocations: 54.03 kB / 0.5112 GB, free: 6.379 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002272/0.4549, allocations: 247.4 kB / 0.5114 GB, free: 6.227 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4549, allocations: 0 / 0.5114 GB, free: 6.227 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008475/0.4557, allocations: 239.3 kB / 0.5116 GB, free: 6.188 MB / 330.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.0001823/0.4559, allocations: 164.8 kB / 0.5118 GB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.4581, allocations: 1.676 MB / 0.5134 GB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4581, allocations: 3.875 kB / 0.5134 GB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.4597, allocations: 0.8081 MB / 0.5142 GB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007171/0.4604, allocations: 130.4 kB / 0.5144 GB, free: 4.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.4628, allocations: 1.673 MB / 0.516 GB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4631, allocations: 0.9315 MB / 0.5169 GB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.4643, allocations: 191.1 kB / 0.5171 GB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.4648, allocations: 61.77 kB / 0.5171 GB, free: 2.387 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4648, allocations: 0 / 0.5171 GB, free: 2.387 MB / 330.7 MB Notification: Performance of Templates: time 0.01986/0.4847, allocations: 14.73 MB / 0.5315 GB, free: 5.574 MB / 346.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)