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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009309/0.009309, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001651/0.001651, allocations: 195.8 kB / 16.67 MB, free: 5.926 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.666/1.666, allocations: 205.1 MB / 222.6 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3273/0.3273, allocations: 39.94 MB / 309.8 MB, free: 9.672 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.2. 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.00152/0.00152, allocations: 67.91 kB / 435.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.31, allocations: 56.87 MB / 492.6 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003245/0.3132, allocations: 2.395 MB / 495 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3149, allocations: 0.9919 MB / 496 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.3151, allocations: 12.16 kB / 496 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.3155, allocations: 119.5 kB / 496.2 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.3157, allocations: 97.16 kB / 496.3 MB, free: 16.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.3164, allocations: 287.8 kB / 496.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.3172, allocations: 0.7218 MB / 497.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3174, allocations: 75.3 kB / 497.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.3178, allocations: 298.8 kB / 497.6 MB, free: 16.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.3183, allocations: 337.7 kB / 498 MB, free: 16.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.3184, allocations: 61.06 kB / 498 MB, free: 16.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3185, allocations: 59.38 kB / 498.1 MB, free: 16.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.3187, allocations: 191.7 kB / 498.3 MB, free: 16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.3189, allocations: 239 kB / 498.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006059/0.3195, allocations: 0.5625 MB / 499.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3195, allocations: 0 / 499.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3195, allocations: 0 / 499.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3196, allocations: 1.344 kB / 499.1 MB, free: 15.61 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.002157/0.3217, allocations: 0.9382 MB / 500 MB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3218, allocations: 13.02 kB / 0.4883 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.3219, allocations: 65.78 kB / 0.4883 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.3224, allocations: 386.5 kB / 0.4887 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.3228, allocations: 263.9 kB / 0.489 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.3229, allocations: 43.38 kB / 0.489 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.325, allocations: 0.8055 MB / 0.4898 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.325, allocations: 5.219 kB / 0.4898 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.3251, allocations: 16.66 kB / 0.4898 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3251, allocations: 10.53 kB / 0.4898 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.3289, allocations: 1.198 MB / 0.491 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.3315, allocations: 2.039 MB / 0.493 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.3345, allocations: 0.8379 MB / 0.4938 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.3359, allocations: 0.4948 MB / 0.4943 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.671e-05/0.336, allocations: 6.531 kB / 0.4943 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.336, allocations: 42.61 kB / 0.4943 GB, free: 11.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=64): time 2.134e-06/0.3361, allocations: 0 / 0.4943 GB, free: 11.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.08462/0.4207, allocations: 15.76 MB / 0.5097 GB, free: 2.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.4208, allocations: 94.23 kB / 0.5098 GB, free: 2.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.4213, allocations: 385.5 kB / 0.5102 GB, free: 2.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.4215, allocations: 45.7 kB / 0.5102 GB, free: 2.109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.4216, allocations: 217.1 kB / 0.5104 GB, free: 1.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.4219, allocations: 402.1 kB / 0.5108 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005333/0.4225, allocations: 194.9 kB / 0.511 GB, free: 1.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.4226, allocations: 374.8 kB / 0.5114 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00342/0.426, allocations: 1.345 MB / 0.5127 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003909/0.4299, allocations: 1.497 MB / 0.5141 GB, free: 14.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007257/0.4372, allocations: 2.441 MB / 0.5165 GB, free: 11.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4373, allocations: 0 / 0.5165 GB, free: 11.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008351/0.4456, allocations: 2.834 MB / 0.5193 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.4457, allocations: 8 kB / 0.5193 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.4457, allocations: 4 kB / 0.5193 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/0.4458, allocations: 16.19 kB / 0.5193 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/0.4486, allocations: 399.4 kB / 0.5197 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.4486, allocations: 15.94 kB / 0.5197 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.4506, allocations: 223.7 kB / 0.5199 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.4508, allocations: 43.98 kB / 0.52 GB, free: 8 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.0006191/0.4514, allocations: 234.1 kB / 0.5202 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.4517, allocations: 59.25 kB / 0.5202 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.452, allocations: 112.7 kB / 0.5204 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.452, allocations: 12 kB / 0.5204 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.452, allocations: 0 / 0.5204 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.452, allocations: 11.97 kB / 0.5204 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.4642, allocations: 5.228 MB / 0.5255 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/0.4643, allocations: 28.03 kB / 0.5255 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.4658, allocations: 355.4 kB / 0.5258 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.4659, allocations: 24 kB / 0.5259 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/0.466, allocations: 47.98 kB / 0.5259 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.264e-05/0.4661, allocations: 39.86 kB / 0.526 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.282e-05/0.4661, allocations: 39.75 kB / 0.526 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007925/0.474, allocations: 3.083 MB / 0.529 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.4746, allocations: 236.3 kB / 0.5292 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.4747, allocations: 55.91 kB / 0.5293 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.476, allocations: 195.8 kB / 0.5295 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/0.4765, allocations: 211.2 kB / 0.5297 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/0.4766, allocations: 59.94 kB / 0.5297 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.4769, allocations: 267.1 kB / 0.53 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4769, allocations: 0 / 0.53 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001003/0.4779, allocations: 228 kB / 0.5302 GB, free: 12.85 MB / 414.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.0002176/0.4781, allocations: 174.7 kB / 0.5304 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006603/0.4847, allocations: 2.387 MB / 0.5327 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.4848, allocations: 4 kB / 0.5327 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.4882, allocations: 1.067 MB / 0.5337 GB, free: 9.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.4897, allocations: 160.5 kB / 0.5339 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.4937, allocations: 1.945 MB / 0.5358 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.4943, allocations: 0.9204 MB / 0.5367 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001099/0.4954, allocations: 206.1 kB / 0.5369 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/0.496, allocations: 71.42 kB / 0.537 GB, free: 5.578 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.496, allocations: 0 / 0.537 GB, free: 5.578 MB / 414.1 MB Notification: Performance of Templates: time 0.0311/0.5271, allocations: 17.39 MB / 0.5539 GB, free: 4.164 MB / 430.1 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)