Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 178.3 kB / 16.11 MB, free: 5.191 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 240.1 MB, free: 11.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007922/0.0007923, allocations: 92.67 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04025/0.04025, allocations: 8.946 MB / 351.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006186/0.0006188, allocations: 12 kB / 414.4 MB, free: 56.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.103, allocations: 52.39 MB / 466.8 MB, free: 4.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.425, allocations: 95.99 MB / 0.5496 GB, free: 5.531 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4253, allocations: 83.03 kB / 0.5497 GB, free: 5.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1252/0.5505, allocations: 50.96 MB / 0.5994 GB, free: 4.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5505, allocations: 0 / 0.5994 GB, free: 4.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001587/0.5507, allocations: 60 kB / 0.5995 GB, free: 4.711 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.01034/0.561, allocations: 2.915 MB / 0.6023 GB, free: 1.734 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5611, allocations: 12.03 kB / 0.6024 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.5625, allocations: 305.2 kB / 0.6026 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.5659, allocations: 1.209 MB / 0.6038 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.5661, allocations: 219 kB / 0.604 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009539/0.5671, allocations: 303.9 kB / 0.6043 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.579, allocations: 4.82 MB / 0.609 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/0.5793, allocations: 39.61 kB / 0.6091 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008573/0.5802, allocations: 136 kB / 0.6092 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007003/0.5809, allocations: 344.3 kB / 0.6095 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009236/0.5901, allocations: 3.588 MB / 0.613 GB, free: 6.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.6192, allocations: 21.73 MB / 0.6343 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005584/0.6249, allocations: 1.902 MB / 0.6361 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.6263, allocations: 0.6597 MB / 0.6368 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008538/0.6348, allocations: 5.463 MB / 0.6421 GB, free: 7.156 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.6349, allocations: 43.56 kB / 0.6421 GB, free: 7.105 MB / 458.7 MB Notification: Performance of pre-optimization done (n=102): time 4.678e-06/0.6349, allocations: 3.984 kB / 0.6421 GB, free: 7.102 MB / 458.7 MB Notification: Performance of matching and sorting (n=140): time 0.2472/0.8822, allocations: 9.241 MB / 0.6512 GB, free: 124.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.8823, allocations: 66.44 kB / 0.6512 GB, free: 124.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.8853, allocations: 1.79 MB / 0.653 GB, free: 124.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.8854, allocations: 47.83 kB / 0.653 GB, free: 124.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009261/0.8864, allocations: 1.732 MB / 0.6547 GB, free: 123.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000454/0.8868, allocations: 0.5238 MB / 0.6552 GB, free: 123.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.887, allocations: 78.19 kB / 0.6553 GB, free: 123.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.8872, allocations: 0.5005 MB / 0.6558 GB, free: 122.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.8891, allocations: 1.177 MB / 0.6569 GB, free: 122.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002711/0.8918, allocations: 3.374 MB / 0.6602 GB, free: 119.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005632/0.8974, allocations: 5.039 MB / 0.6652 GB, free: 117.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.982e-05/0.8975, allocations: 25.53 kB / 0.6652 GB, free: 117.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.009238/0.9068, allocations: 4.729 MB / 0.6698 GB, free: 116.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.846e-05/0.9069, allocations: 37.12 kB / 0.6698 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.907, allocations: 77.56 kB / 0.6699 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009566/0.908, allocations: 362.9 kB / 0.6703 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.9108, allocations: 0.8904 MB / 0.6711 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00435/0.9152, allocations: 3.876 MB / 0.6749 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.9181, allocations: 212.8 kB / 0.6751 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.9184, allocations: 225.9 kB / 0.6753 GB, free: 114.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * Number of states: 0 () * Number of discrete variables: 18 (revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (464): * Single equations (assignments): 463 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0016/0.9201, allocations: 0.9239 MB / 0.6762 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.9203, allocations: 192.8 kB / 0.6764 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/0.9237, allocations: 2.577 MB / 0.6789 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.9237, allocations: 11.72 kB / 0.6789 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9237, allocations: 7.844 kB / 0.6789 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.9237, allocations: 7.641 kB / 0.679 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009047/0.9328, allocations: 6.327 MB / 0.6851 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.9328, allocations: 3.625 kB / 0.6851 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.9338, allocations: 273.1 kB / 0.6854 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005572/0.9343, allocations: 259.1 kB / 0.6856 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.9344, allocations: 30.47 kB / 0.6857 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.9373, allocations: 3.169 MB / 0.6888 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9373, allocations: 10.47 kB / 0.6888 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/0.9415, allocations: 3.869 MB / 0.6926 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.942, allocations: 250 kB / 0.6928 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.9422, allocations: 31.28 kB / 0.6928 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007516/0.943, allocations: 111.3 kB / 0.6929 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.9431, allocations: 97.36 kB / 0.693 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.9432, allocations: 34.88 kB / 0.6931 GB, free: 107.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001305/0.9445, allocations: 1.062 MB / 0.6941 GB, free: 106.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.9445, allocations: 0 / 0.6941 GB, free: 106.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002869/0.9474, allocations: 0.6411 MB / 0.6947 GB, free: 106.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 120 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002399/0.9477, allocations: 150.2 kB / 0.6949 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.9517, allocations: 3.248 MB / 0.698 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9518, allocations: 4 kB / 0.698 GB, free: 105.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.953, allocations: 1.252 MB / 0.6993 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.9554, allocations: 400.9 kB / 0.6996 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007166/0.9626, allocations: 6.041 MB / 0.7055 GB, free: 101.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.9639, allocations: 1.827 MB / 0.7073 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002106/0.966, allocations: 0.8628 MB / 0.7082 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/0.9664, allocations: 152.9 kB / 0.7083 GB, free: 100.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/0.9665, allocations: 0 / 0.7083 GB, free: 100.5 MB / 458.7 MB Notification: Performance of Templates: time 0.03658/1.003, allocations: 24.32 MB / 0.7321 GB, free: 86.84 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.MeasureDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1)