Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003012/0.003012, allocations: 183.1 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.4 MB / 229.3 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 89.53 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04323/0.04323, allocations: 8.846 MB / 339.7 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.161e-06/6.201e-06, allocations: 4 kB / 398.1 MB, free: 67.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0675/0.06752, allocations: 52.39 MB / 450.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.2971, allocations: 90.36 MB / 0.5282 GB, free: 3.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.2973, allocations: 78.44 kB / 0.5283 GB, free: 3.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1695/0.4668, allocations: 62.38 MB / 0.5892 GB, free: 11.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.917e-05/0.467, allocations: 48 kB / 0.5892 GB, free: 11.77 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: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01566/0.4826, allocations: 3.578 MB / 0.5927 GB, free: 8.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4827, allocations: 12.03 kB / 0.5928 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008953/0.4916, allocations: 1.602 MB / 0.5943 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.4951, allocations: 1.778 MB / 0.5961 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.4953, allocations: 96 kB / 0.5961 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000657/0.4959, allocations: 175.9 kB / 0.5963 GB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00846/0.5044, allocations: 5.665 MB / 0.6018 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.5153, allocations: 7.447 MB / 0.6091 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.634e-05/0.5154, allocations: 23.72 kB / 0.6091 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/0.5158, allocations: 12 kB / 0.6092 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001302/0.5171, allocations: 0.9428 MB / 0.6101 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03478/0.5519, allocations: 25.38 MB / 0.6349 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.554, allocations: 1.311 MB / 0.6361 GB, free: 10.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.5553, allocations: 0.9354 MB / 0.6371 GB, free: 9.672 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006105/0.5615, allocations: 4.512 MB / 0.6415 GB, free: 4.723 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5615, allocations: 47.88 kB / 0.6415 GB, free: 4.664 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 3.437e-06/0.5615, allocations: 0 / 0.6415 GB, free: 4.664 MB / 458.7 MB Notification: Performance of matching and sorting (n=170): time 0.1562/0.7178, allocations: 5.976 MB / 0.6473 GB, free: 107.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.7178, allocations: 67.06 kB / 0.6474 GB, free: 107.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.7203, allocations: 1.915 MB / 0.6493 GB, free: 107.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.7204, allocations: 25.7 kB / 0.6493 GB, free: 107.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007386/0.7211, allocations: 2.063 MB / 0.6513 GB, free: 106.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/0.7215, allocations: 0.6039 MB / 0.6519 GB, free: 106.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.7216, allocations: 0 / 0.6519 GB, free: 106.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.7219, allocations: 0.5304 MB / 0.6524 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.7235, allocations: 1.326 MB / 0.6537 GB, free: 105.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.7257, allocations: 3.584 MB / 0.6572 GB, free: 102.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.7285, allocations: 2.257 MB / 0.6594 GB, free: 102.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.923e-05/0.7285, allocations: 26.36 kB / 0.6594 GB, free: 102.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.006712/0.7352, allocations: 4.669 MB / 0.664 GB, free: 102.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7353, allocations: 7.5 kB / 0.664 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-05/0.7353, allocations: 78.25 kB / 0.6641 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000709/0.7361, allocations: 304.7 kB / 0.6644 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/0.7391, allocations: 0.9309 MB / 0.6653 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.7416, allocations: 2.491 MB / 0.6677 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.7443, allocations: 96.19 kB / 0.6678 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/0.7446, allocations: 254.6 kB / 0.6681 GB, free: 101.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 366 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (517): * Single equations (assignments): 511 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004419/0.7451, allocations: 305 kB / 0.6683 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.7453, allocations: 200.1 kB / 0.6685 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/0.7485, allocations: 2.083 MB / 0.6706 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001254/0.7486, allocations: 20.92 kB / 0.6706 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.7486, allocations: 7.5 kB / 0.6706 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.7487, allocations: 3.844 kB / 0.6706 GB, free: 100.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007917/0.7566, allocations: 5.037 MB / 0.6755 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7566, allocations: 3.812 kB / 0.6755 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.7578, allocations: 239.3 kB / 0.6758 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005046/0.7583, allocations: 170.5 kB / 0.6759 GB, free: 99.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.166e-05/0.7584, allocations: 15.22 kB / 0.6759 GB, free: 99.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.7603, allocations: 2.099 MB / 0.678 GB, free: 98.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7603, allocations: 3.875 kB / 0.678 GB, free: 98.68 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003847/0.7641, allocations: 3.376 MB / 0.6813 GB, free: 98.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.7645, allocations: 279.6 kB / 0.6815 GB, free: 97.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.7648, allocations: 0 / 0.6815 GB, free: 97.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.7658, allocations: 25.77 kB / 0.6816 GB, free: 97.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.7659, allocations: 74.94 kB / 0.6816 GB, free: 97.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.766, allocations: 53.02 kB / 0.6817 GB, free: 97.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001488/0.7675, allocations: 1.293 MB / 0.683 GB, free: 97.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002726/0.7703, allocations: 0.6113 MB / 0.6836 GB, free: 97.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 130 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003379/0.7706, allocations: 166.1 kB / 0.6837 GB, free: 97.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.7746, allocations: 3.271 MB / 0.6869 GB, free: 97.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7746, allocations: 3.406 kB / 0.6869 GB, free: 97.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.776, allocations: 1.123 MB / 0.688 GB, free: 96.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/0.777, allocations: 212.8 kB / 0.6882 GB, free: 96.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009327/0.7863, allocations: 5.54 MB / 0.6936 GB, free: 95.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003546/0.7899, allocations: 2.865 MB / 0.6964 GB, free: 94.92 MB / 458.7 MB Notification: Performance of SimCode: time 6.72e-07/0.7899, allocations: 1.188 kB / 0.6964 GB, free: 94.92 MB / 458.7 MB Notification: Performance of Templates: time 0.04538/0.8353, allocations: 24.37 MB / 0.7202 GB, free: 88.34 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)