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.001388/0.001388, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.63/1.63, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001562/0.001562, allocations: 112.2 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2034/0.2034, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.469e-05/5.483e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1093, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4822, allocations: 83.05 MB / 0.5256 GB, free: 8.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4825, allocations: 63.97 kB / 0.5256 GB, free: 8.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03035/0.5128, allocations: 11.41 MB / 0.5368 GB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5129, allocations: 0 / 0.5368 GB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.5129, allocations: 8 kB / 0.5368 GB, free: 14.71 MB / 362.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.001942/0.5149, allocations: 0.8747 MB / 0.5376 GB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5149, allocations: 8.031 kB / 0.5376 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.515, allocations: 59.44 kB / 0.5377 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.5156, allocations: 334 kB / 0.538 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003942/0.516, allocations: 271.1 kB / 0.5383 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.5161, allocations: 45.39 kB / 0.5383 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008713/0.517, allocations: 0.5576 MB / 0.5389 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.517, allocations: 0 / 0.5389 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-05/0.517, allocations: 14.44 kB / 0.5389 GB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5171, allocations: 8 kB / 0.5389 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.5183, allocations: 0.8128 MB / 0.5397 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.5206, allocations: 1.393 MB / 0.541 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.522, allocations: 0.5967 MB / 0.5416 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.5225, allocations: 315 kB / 0.5419 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-05/0.5226, allocations: 5.125 kB / 0.5419 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.5227, allocations: 48.42 kB / 0.542 GB, free: 10.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.5227, allocations: 0 / 0.542 GB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.01991/0.5426, allocations: 7.399 MB / 0.5492 GB, free: 4.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.5427, allocations: 90.23 kB / 0.5493 GB, free: 4.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.5431, allocations: 324.8 kB / 0.5496 GB, free: 4.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.5432, allocations: 44.64 kB / 0.5496 GB, free: 4.434 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5433, allocations: 193.7 kB / 0.5498 GB, free: 4.273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.5436, allocations: 394.9 kB / 0.5502 GB, free: 3.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.5438, allocations: 25.56 kB / 0.5502 GB, free: 3.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5439, allocations: 372.3 kB / 0.5506 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.5453, allocations: 0.9612 MB / 0.5515 GB, free: 3.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.5468, allocations: 1.067 MB / 0.5526 GB, free: 2.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.548, allocations: 0.8199 MB / 0.5534 GB, free: 2.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5481, allocations: 3.938 kB / 0.5534 GB, free: 2.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003243/0.5513, allocations: 2.043 MB / 0.5554 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5513, allocations: 8 kB / 0.5554 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5514, allocations: 0 / 0.5554 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.5514, allocations: 8 kB / 0.5554 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.5541, allocations: 457.9 kB / 0.5558 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.5542, allocations: 8 kB / 0.5558 GB, free: 464 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.5561, allocations: 274.1 kB / 0.5561 GB, free: 208 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.5563, allocations: 35.48 kB / 0.5561 GB, free: 180 kB / 362.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.0003431/0.5567, allocations: 166.9 kB / 0.5563 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.5569, allocations: 63.2 kB / 0.5563 GB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.5572, allocations: 108.8 kB / 0.5564 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.5572, allocations: 12 kB / 0.5565 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.5572, allocations: 0 / 0.5565 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.5572, allocations: 11.95 kB / 0.5565 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0084/0.5656, allocations: 4.767 MB / 0.5611 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-05/0.5657, allocations: 24 kB / 0.5611 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.5673, allocations: 411.5 kB / 0.5615 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.141e-05/0.5673, allocations: 32 kB / 0.5616 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5675, allocations: 48 kB / 0.5616 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.692e-05/0.5675, allocations: 39.86 kB / 0.5616 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-05/0.5675, allocations: 27.88 kB / 0.5617 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.5712, allocations: 3.324 MB / 0.5649 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.5716, allocations: 244.3 kB / 0.5652 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.5717, allocations: 51.98 kB / 0.5652 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.5731, allocations: 251.8 kB / 0.5654 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/0.5736, allocations: 235.2 kB / 0.5657 GB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/0.5737, allocations: 56 kB / 0.5657 GB, free: 6.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003162/0.574, allocations: 251.1 kB / 0.566 GB, free: 5.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.574, allocations: 0 / 0.566 GB, free: 5.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009557/0.575, allocations: 232 kB / 0.5662 GB, free: 5.754 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 () * 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.0002513/0.5752, allocations: 170.7 kB / 0.5663 GB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.578, allocations: 1.665 MB / 0.568 GB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.5781, allocations: 8.125 kB / 0.568 GB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.58, allocations: 0.8087 MB / 0.5688 GB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.581, allocations: 132 kB / 0.5689 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.5843, allocations: 1.685 MB / 0.5705 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.5849, allocations: 0.9202 MB / 0.5714 GB, free: 32 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001333/0.5862, allocations: 193.7 kB / 0.5716 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.5868, allocations: 67.42 kB / 0.5717 GB, free: 15.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5868, allocations: 3.938 kB / 0.5717 GB, free: 15.77 MB / 394.7 MB Notification: Performance of Templates: time 0.02499/0.6118, allocations: 14.71 MB / 0.5861 GB, free: 1.062 MB / 394.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)