Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.9 MB, free: 3.238 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04597/0.04597, allocations: 9.234 MB / 314.3 MB, free: 1.652 MB / 238.1 MB [Timeout remaining time 90] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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) 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(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.91 kB / 437.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3529, allocations: 54.25 MB / 492 MB, free: 25.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.008406/0.3613, allocations: 8.629 MB / 0.4889 GB, free: 19.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005603/0.3669, allocations: 2.727 MB / 0.4916 GB, free: 17.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.3682, allocations: 33.59 kB / 0.4916 GB, free: 17.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008109/0.369, allocations: 387.8 kB / 0.492 GB, free: 17.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.3722, allocations: 1.439 MB / 0.4934 GB, free: 16.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.3726, allocations: 176 kB / 0.4935 GB, free: 16.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.3754, allocations: 2.538 MB / 0.496 GB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008398/0.3763, allocations: 0.7456 MB / 0.4967 GB, free: 14.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.3774, allocations: 0.8942 MB / 0.4976 GB, free: 13.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.3788, allocations: 1.43 MB / 0.499 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003759/0.3792, allocations: 230.1 kB / 0.4992 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.3808, allocations: 0.9285 MB / 0.5001 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009528/0.3817, allocations: 1.242 MB / 0.5014 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.3829, allocations: 1.563 MB / 0.5029 GB, free: 10.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.3883, allocations: 5.073 MB / 0.5078 GB, free: 7.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3883, allocations: 0 / 0.5078 GB, free: 7.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3883, allocations: 1.156 kB / 0.5078 GB, free: 7.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.3884, allocations: 3.938 kB / 0.5078 GB, free: 7.004 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01574/0.4041, allocations: 5.111 MB / 0.5128 GB, free: 2.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4042, allocations: 8.031 kB / 0.5128 GB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005692/0.4099, allocations: 1.789 MB / 0.5146 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.4127, allocations: 1.434 MB / 0.516 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.4129, allocations: 148 kB / 0.5161 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004526/0.4133, allocations: 199.9 kB / 0.5163 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.4292, allocations: 8.452 MB / 0.5246 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.922e-05/0.4292, allocations: 27.8 kB / 0.5246 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003085/0.4296, allocations: 87.88 kB / 0.5247 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003245/0.4328, allocations: 1.879 MB / 0.5265 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.4511, allocations: 8.128 MB / 0.5345 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04242/0.4936, allocations: 25.9 MB / 0.5598 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00988/0.5034, allocations: 2.761 MB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.5053, allocations: 1.017 MB / 0.5634 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007867/0.5131, allocations: 5.029 MB / 0.5684 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.5132, allocations: 51.81 kB / 0.5684 GB, free: 7.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=155): time 3.537e-06/0.5132, allocations: 4 kB / 0.5684 GB, free: 7.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=173): time 0.01742/0.5306, allocations: 7.987 MB / 0.5762 GB, free: 15.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.5306, allocations: 64.72 kB / 0.5763 GB, free: 15.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/0.5347, allocations: 2.602 MB / 0.5788 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.5349, allocations: 53.69 kB / 0.5789 GB, free: 12.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.5365, allocations: 2.13 MB / 0.5809 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006798/0.5372, allocations: 0.6704 MB / 0.5816 GB, free: 9.973 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.5384, allocations: 0.8065 MB / 0.5824 GB, free: 9.156 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5385, allocations: 309.1 kB / 0.5827 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/0.5408, allocations: 1.37 MB / 0.584 GB, free: 7.477 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/0.545, allocations: 3.528 MB / 0.5875 GB, free: 2.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006929/0.5519, allocations: 5.313 MB / 0.5926 GB, free: 12.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.611e-05/0.552, allocations: 23.94 kB / 0.5927 GB, free: 12.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.009142/0.5611, allocations: 5.109 MB / 0.5977 GB, free: 7.379 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/0.5612, allocations: 46.28 kB / 0.5977 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.542e-05/0.5613, allocations: 72 kB / 0.5978 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007745/0.562, allocations: 313.5 kB / 0.5981 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/0.5648, allocations: 0.9046 MB / 0.599 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/0.569, allocations: 3.29 MB / 0.6022 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.5717, allocations: 187.9 kB / 0.6023 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/0.5721, allocations: 236 kB / 0.6026 GB, free: 2.199 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 484 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002742/0.5748, allocations: 1.582 MB / 0.6041 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.5753, allocations: 238.4 kB / 0.6043 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2784/0.8537, allocations: 2.336 MB / 0.6066 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/0.8538, allocations: 28.58 kB / 0.6067 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.8538, allocations: 3.172 kB / 0.6067 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.8538, allocations: 7.781 kB / 0.6067 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.8656, allocations: 6.207 MB / 0.6127 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.8656, allocations: 6.547 kB / 0.6127 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.8667, allocations: 250.8 kB / 0.613 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005717/0.8673, allocations: 211.5 kB / 0.6132 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.998e-05/0.8674, allocations: 35.39 kB / 0.6132 GB, free: 101.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.8702, allocations: 2.859 MB / 0.616 GB, free: 99.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8702, allocations: 7.969 kB / 0.616 GB, free: 99.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/0.8755, allocations: 3.597 MB / 0.6195 GB, free: 98.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008538/0.8764, allocations: 313.9 kB / 0.6198 GB, free: 98.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.8766, allocations: 25.78 kB / 0.6198 GB, free: 98.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/0.8775, allocations: 70.88 kB / 0.6199 GB, free: 98.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.8777, allocations: 100.5 kB / 0.62 GB, free: 98.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.966e-05/0.8778, allocations: 57.05 kB / 0.6201 GB, free: 98.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002198/0.88, allocations: 1.683 MB / 0.6217 GB, free: 97.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.88, allocations: 0 / 0.6217 GB, free: 97.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003148/0.8831, allocations: 0.6968 MB / 0.6224 GB, free: 97.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 132 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004114/0.8836, allocations: 188 kB / 0.6226 GB, free: 97.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005256/0.8888, allocations: 3.348 MB / 0.6258 GB, free: 96.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.8888, allocations: 1.594 kB / 0.6258 GB, free: 96.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.8904, allocations: 1.17 MB / 0.627 GB, free: 95.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.8924, allocations: 390.7 kB / 0.6273 GB, free: 95.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.9045, allocations: 7.312 MB / 0.6345 GB, free: 92.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/0.9067, allocations: 2.593 MB / 0.637 GB, free: 90.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007303/0.9074, allocations: 229.1 kB / 0.6372 GB, free: 90.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.522e-06/0.9074, allocations: 0 / 0.6372 GB, free: 90.96 MB / 462.1 MB Notification: Performance of Templates: time 0.06746/0.9749, allocations: 73.64 MB / 0.7092 GB, free: 18.32 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 480]