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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 166.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04855/0.04855, allocations: 7.118 MB / 266.3 MB, free: 9.766 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 392.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.512e-05/3.676e-05, allocations: 2.281 kB / 392.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01112/0.01116, allocations: 7.595 MB / 400.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005961/0.01712, allocations: 2.631 MB / 403.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.01824, allocations: 35.88 kB / 403.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.01932, allocations: 373.4 kB / 403.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.02318, allocations: 1.497 MB / 405 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.02376, allocations: 171.5 kB / 405.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.02751, allocations: 2.558 MB / 407.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.02892, allocations: 0.7294 MB / 408.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.03114, allocations: 1.376 MB / 409.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.0331, allocations: 1.325 MB / 411.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004507/0.03355, allocations: 232 kB / 411.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.03519, allocations: 0.8813 MB / 412.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.03642, allocations: 1.254 MB / 413.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.03758, allocations: 0.8175 MB / 414.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006103/0.04368, allocations: 5.046 MB / 419.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.04368, allocations: 0 / 419.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.04368, allocations: 0 / 419.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.321e-05/0.04376, allocations: 0 / 419.4 MB, free: 14.59 MB / 350.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.01858/0.06234, allocations: 5.064 MB / 424.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.06239, allocations: 8.625 kB / 424.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007789/0.07018, allocations: 1.863 MB / 426.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.07343, allocations: 1.361 MB / 427.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.07357, allocations: 144 kB / 427.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.07404, allocations: 200.2 kB / 428 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.09011, allocations: 8.429 MB / 436.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-05/0.09019, allocations: 31.81 kB / 436.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.09052, allocations: 91.86 kB / 436.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003453/0.09397, allocations: 1.876 MB / 438.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/0.1122, allocations: 8.058 MB / 446.5 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2119/0.3241, allocations: 23.44 MB / 469.9 MB, free: 43.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.3342, allocations: 2.393 MB / 472.3 MB, free: 43.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3356, allocations: 1.012 MB / 473.3 MB, free: 42.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005176/0.3407, allocations: 2.841 MB / 476.2 MB, free: 41.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3408, allocations: 47.22 kB / 476.2 MB, free: 41.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=155): time 3.948e-06/0.3408, allocations: 0 / 476.2 MB, free: 41.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=173): time 0.01556/0.3563, allocations: 7.732 MB / 484 MB, free: 37.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3564, allocations: 64.72 kB / 484 MB, free: 37.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.3587, allocations: 2.192 MB / 486.2 MB, free: 35.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.3588, allocations: 53.7 kB / 486.3 MB, free: 35.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/0.3595, allocations: 2.15 MB / 488.4 MB, free: 32.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.3599, allocations: 0.653 MB / 489.1 MB, free: 32.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008254/0.3607, allocations: 0.8101 MB / 489.9 MB, free: 31.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.3608, allocations: 345.9 kB / 490.2 MB, free: 31.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.3625, allocations: 1.359 MB / 491.6 MB, free: 29.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.3648, allocations: 3.532 MB / 495.1 MB, free: 25.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004353/0.3691, allocations: 5.291 MB / 0.4887 GB, free: 18.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.428e-05/0.3692, allocations: 20 kB / 0.4887 GB, free: 18.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.006933/0.3761, allocations: 5.056 MB / 0.4936 GB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.3762, allocations: 36 kB / 0.4937 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.349e-05/0.3762, allocations: 76 kB / 0.4937 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006449/0.3769, allocations: 313 kB / 0.494 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.3792, allocations: 0.9007 MB / 0.4949 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.3821, allocations: 3.132 MB / 0.498 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.3846, allocations: 195.9 kB / 0.4982 GB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/0.3849, allocations: 239.5 kB / 0.4984 GB, free: 8.801 MB / 366.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.002005/0.3869, allocations: 1.573 MB / 0.4999 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/0.3873, allocations: 198.6 kB / 0.5001 GB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.3904, allocations: 2.288 MB / 0.5023 GB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-05/0.3905, allocations: 31.27 kB / 0.5024 GB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3905, allocations: 0 / 0.5024 GB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.3905, allocations: 11.97 kB / 0.5024 GB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00795/0.3985, allocations: 5.115 MB / 0.5074 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.3985, allocations: 4 kB / 0.5074 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.3995, allocations: 255.9 kB / 0.5076 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006055/0.4001, allocations: 213.5 kB / 0.5078 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.637e-05/0.4002, allocations: 35.66 kB / 0.5079 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/0.4037, allocations: 2.707 MB / 0.5105 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4037, allocations: 7.938 kB / 0.5105 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005831/0.4095, allocations: 3.532 MB / 0.514 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/0.41, allocations: 190.2 kB / 0.5142 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.4103, allocations: 24 kB / 0.5142 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008655/0.4111, allocations: 71.92 kB / 0.5142 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/0.4114, allocations: 109 kB / 0.5143 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.4115, allocations: 48 kB / 0.5144 GB, free: 8.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002072/0.4136, allocations: 1.277 MB / 0.5156 GB, free: 6.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4136, allocations: 0 / 0.5156 GB, free: 6.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003148/0.4167, allocations: 0.6905 MB / 0.5163 GB, free: 6.223 MB / 382.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.0004331/0.4172, allocations: 174.7 kB / 0.5165 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0059/0.4231, allocations: 3.264 MB / 0.5197 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4231, allocations: 1.062 kB / 0.5197 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.4249, allocations: 1.085 MB / 0.5207 GB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.4264, allocations: 269.6 kB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.4382, allocations: 6.707 MB / 0.5275 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.441, allocations: 2.047 MB / 0.5295 GB, free: 8.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002748/0.4437, allocations: 1.17 MB / 0.5307 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.4442, allocations: 160.5 kB / 0.5308 GB, free: 7.246 MB / 398.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4442, allocations: 0 / 0.5308 GB, free: 7.246 MB / 398.1 MB Notification: Performance of Templates: time 0.04549/0.4897, allocations: 22.14 MB / 0.5525 GB, free: 1.418 MB / 414.1 MB " [Timeout remaining time 660] 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] [Calling sys.exit(0), Time elapsed: 5.4301189966499805] Failed to read output from testmodel.py, exit status != 0: 0.49976935237646103 0.5151085289999999 0.46805898199999996 Calling exit ...