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.007582/0.007582, allocations: 98.14 kB / 15.73 MB, free: 6.039 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.001426/0.001426, allocations: 196.8 kB / 16.68 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.663/1.663, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3486/0.3486, allocations: 38 MB / 307.9 MB, free: 10.05 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.001469/0.001469, allocations: 67.91 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3619, allocations: 56.47 MB / 489.4 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003121/0.365, allocations: 2.392 MB / 491.8 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3667, allocations: 0.9825 MB / 492.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.3669, allocations: 13.59 kB / 492.8 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.3674, allocations: 119.9 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.3676, allocations: 102.3 kB / 493.1 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.3683, allocations: 291.5 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.369, allocations: 0.7255 MB / 494.1 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.3692, allocations: 69.08 kB / 494.1 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.3695, allocations: 306.2 kB / 494.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.3699, allocations: 334.8 kB / 494.8 MB, free: 16.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.3701, allocations: 63 kB / 494.8 MB, free: 16.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.513e-05/0.3702, allocations: 60.56 kB / 494.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.3704, allocations: 190.7 kB / 495.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.3707, allocations: 240.5 kB / 495.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.3715, allocations: 0.5569 MB / 495.9 MB, free: 16.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3715, allocations: 0 / 495.9 MB, free: 16.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3715, allocations: 0 / 495.9 MB, free: 16.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.3716, allocations: 4 kB / 495.9 MB, free: 16.14 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.002248/0.3738, allocations: 0.9351 MB / 496.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.3739, allocations: 13.48 kB / 496.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.374, allocations: 66.67 kB / 496.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.3746, allocations: 387.4 kB / 497.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.375, allocations: 258.7 kB / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.3751, allocations: 45.11 kB / 497.5 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.3769, allocations: 0.8102 MB / 498.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.377, allocations: 9.219 kB / 498.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/0.377, allocations: 16.12 kB / 498.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.377, allocations: 9.625 kB / 498.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.3803, allocations: 1.198 MB / 499.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.3829, allocations: 2.031 MB / 0.4899 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.3855, allocations: 0.8298 MB / 0.4907 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.3869, allocations: 0.4887 MB / 0.4912 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-05/0.387, allocations: 5.719 kB / 0.4912 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.387, allocations: 42.23 kB / 0.4912 GB, free: 12.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.365e-06/0.387, allocations: 1.219 kB / 0.4912 GB, free: 12.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.07639/0.4634, allocations: 15.76 MB / 0.5066 GB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.4635, allocations: 90.42 kB / 0.5067 GB, free: 4.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.4641, allocations: 390 kB / 0.507 GB, free: 4.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.4642, allocations: 45.92 kB / 0.5071 GB, free: 4.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.4644, allocations: 220.9 kB / 0.5073 GB, free: 4.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.4647, allocations: 401.4 kB / 0.5077 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005708/0.4653, allocations: 200.8 kB / 0.5079 GB, free: 3.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4654, allocations: 373.6 kB / 0.5082 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003179/0.4686, allocations: 1.34 MB / 0.5095 GB, free: 2.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003056/0.4716, allocations: 1.497 MB / 0.511 GB, free: 1.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00578/0.4774, allocations: 2.441 MB / 0.5134 GB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4775, allocations: 7.938 kB / 0.5134 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007159/0.4846, allocations: 2.826 MB / 0.5162 GB, free: 11.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4847, allocations: 8.031 kB / 0.5162 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4847, allocations: 4 kB / 0.5162 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/0.4847, allocations: 8 kB / 0.5162 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/0.4874, allocations: 411.3 kB / 0.5166 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.864e-05/0.4875, allocations: 15.88 kB / 0.5166 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.4895, allocations: 219.7 kB / 0.5168 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.4897, 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.0005604/0.4903, allocations: 230.1 kB / 0.5171 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.4906, allocations: 59.25 kB / 0.5171 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.4909, allocations: 108.7 kB / 0.5172 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4909, allocations: 15.94 kB / 0.5172 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.807e-05/0.4909, allocations: 7.938 kB / 0.5172 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.4909, allocations: 7.969 kB / 0.5172 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.5025, allocations: 5.231 MB / 0.5224 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.985e-05/0.5026, allocations: 20 kB / 0.5224 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.5041, allocations: 355.7 kB / 0.5227 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-05/0.5041, allocations: 28 kB / 0.5227 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.5042, allocations: 48 kB / 0.5228 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-05/0.5043, allocations: 39.86 kB / 0.5228 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.457e-05/0.5043, allocations: 31.88 kB / 0.5229 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006736/0.5111, allocations: 3.087 MB / 0.5259 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/0.5116, allocations: 236.3 kB / 0.5261 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.5118, allocations: 51.97 kB / 0.5261 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.5132, allocations: 191.8 kB / 0.5263 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004566/0.5136, allocations: 219.3 kB / 0.5265 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.5138, allocations: 56 kB / 0.5266 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003533/0.5141, allocations: 263.1 kB / 0.5268 GB, free: 252 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5141, allocations: 0 / 0.5268 GB, free: 252 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001246/0.5154, allocations: 232 kB / 0.5271 GB, free: 20 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.0002965/0.5157, allocations: 181.9 kB / 0.5272 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005874/0.5216, allocations: 2.387 MB / 0.5296 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/0.5216, allocations: 4 kB / 0.5296 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00322/0.5248, 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.001602/0.5264, allocations: 150.9 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.004341/0.5308, allocations: 1.949 MB / 0.5327 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.5316, allocations: 0.9243 MB / 0.5336 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0011/0.5327, allocations: 206 kB / 0.5338 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/0.5333, allocations: 71.42 kB / 0.5338 GB, free: 8.746 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5333, allocations: 4 kB / 0.5338 GB, free: 8.742 MB / 414.1 MB Notification: Performance of Templates: time 0.02931/0.5626, allocations: 16.87 MB / 0.5503 GB, free: 7.859 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)