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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0105/0.0105, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 188.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3727/0.3727, allocations: 37.99 MB / 307.9 MB, free: 10.12 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 67.91 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.429, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003554/0.4326, allocations: 2.389 MB / 491.8 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.4344, allocations: 0.9837 MB / 492.8 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.4346, allocations: 9.062 kB / 492.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.435, allocations: 119.4 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.4353, allocations: 97.58 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.4359, allocations: 278.6 kB / 493.3 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008257/0.4367, allocations: 0.7327 MB / 494.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.4369, allocations: 72.05 kB / 494.1 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.4373, allocations: 298.9 kB / 494.4 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00058/0.4379, allocations: 338.9 kB / 494.7 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4381, allocations: 59.81 kB / 494.8 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.4382, allocations: 60.22 kB / 494.9 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.4385, allocations: 190.3 kB / 495 MB, free: 16.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.4387, allocations: 236.5 kB / 495.3 MB, free: 16.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.4395, allocations: 0.5598 MB / 495.8 MB, free: 16.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4395, allocations: 5.609 kB / 495.8 MB, free: 16.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4395, allocations: 0 / 495.8 MB, free: 16.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.4395, allocations: 0 / 495.8 MB, free: 16.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002593/0.4421, allocations: 0.943 MB / 496.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.4422, allocations: 14.08 kB / 496.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.4423, allocations: 65.03 kB / 496.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.4432, allocations: 384.3 kB / 497.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004479/0.4436, allocations: 258.9 kB / 497.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4438, allocations: 43.47 kB / 497.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.4463, allocations: 0.8148 MB / 498.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.4463, allocations: 5.281 kB / 498.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.077e-05/0.4464, allocations: 16.12 kB / 498.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.4464, allocations: 9.625 kB / 498.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004356/0.4508, allocations: 1.198 MB / 499.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.4543, allocations: 2.035 MB / 0.4899 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.4575, allocations: 0.8335 MB / 0.4907 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.4591, allocations: 499.2 kB / 0.4911 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.382e-05/0.4592, allocations: 7.953 kB / 0.4912 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.4592, allocations: 40.75 kB / 0.4912 GB, free: 12.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.776e-06/0.4593, allocations: 1.094 kB / 0.4912 GB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.08817/0.5474, allocations: 15.76 MB / 0.5066 GB, free: 4.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.5475, allocations: 94.23 kB / 0.5067 GB, free: 4.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.548, allocations: 390.1 kB / 0.507 GB, free: 4.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.5482, allocations: 45.55 kB / 0.5071 GB, free: 4.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5483, allocations: 220.8 kB / 0.5073 GB, free: 4.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.5487, allocations: 401.2 kB / 0.5077 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005849/0.5493, allocations: 201 kB / 0.5079 GB, free: 3.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5494, allocations: 369.3 kB / 0.5082 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/0.5531, allocations: 1.343 MB / 0.5095 GB, free: 2.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/0.5568, allocations: 1.5 MB / 0.511 GB, free: 1.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00684/0.5636, allocations: 2.437 MB / 0.5134 GB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.5636, allocations: 11.94 kB / 0.5134 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008277/0.5719, allocations: 2.822 MB / 0.5161 GB, free: 11.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.572, allocations: 8 kB / 0.5162 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.572, allocations: 4.25 kB / 0.5162 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.572, allocations: 15.94 kB / 0.5162 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/0.5749, allocations: 399.4 kB / 0.5166 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/0.5749, allocations: 15.88 kB / 0.5166 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.577, allocations: 219.7 kB / 0.5168 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5772, allocations: 43.98 kB / 0.5168 GB, free: 11.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005024/0.5777, allocations: 234 kB / 0.517 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.5779, allocations: 63.19 kB / 0.5171 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.5781, allocations: 112.7 kB / 0.5172 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.5782, allocations: 12 kB / 0.5172 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/0.5782, allocations: 3.938 kB / 0.5172 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5782, allocations: 15.97 kB / 0.5172 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.5906, allocations: 5.228 MB / 0.5224 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.776e-05/0.5907, allocations: 24 kB / 0.5224 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.5923, allocations: 355.5 kB / 0.5227 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.87e-05/0.5924, allocations: 28 kB / 0.5227 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.5925, allocations: 48 kB / 0.5228 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-05/0.5925, allocations: 39.86 kB / 0.5228 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.723e-05/0.5926, allocations: 35.81 kB / 0.5229 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008049/0.6006, allocations: 3.083 MB / 0.5259 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006077/0.6013, allocations: 236.3 kB / 0.5261 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6014, allocations: 51.97 kB / 0.5261 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.6028, allocations: 191.8 kB / 0.5263 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/0.6033, allocations: 215.2 kB / 0.5265 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.425e-05/0.6034, allocations: 56 kB / 0.5266 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003915/0.6038, allocations: 263.1 kB / 0.5268 GB, free: 248 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6038, allocations: 4 kB / 0.5268 GB, free: 244 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001233/0.6051, allocations: 228 kB / 0.5271 GB, free: 16 kB / 398.1 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: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],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 (120): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002995/0.6054, allocations: 174.7 kB / 0.5272 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006726/0.6121, allocations: 2.39 MB / 0.5296 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/0.6121, allocations: 4 kB / 0.5296 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003617/0.6158, allocations: 1.067 MB / 0.5306 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6175, allocations: 155.1 kB / 0.5308 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.6217, allocations: 1.942 MB / 0.5326 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.6223, allocations: 0.9243 MB / 0.5335 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00114/0.6235, allocations: 210.1 kB / 0.5338 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/0.6241, allocations: 71.42 kB / 0.5338 GB, free: 8.742 MB / 414.1 MB Notification: Performance of SimCode: time 1.173e-06/0.6241, allocations: 0 / 0.5338 GB, free: 8.742 MB / 414.1 MB Notification: Performance of Templates: time 0.03058/0.6547, allocations: 17.38 MB / 0.5508 GB, free: 7.336 MB / 430.1 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)