Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.0007704/0.0007704, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007647/0.0007647, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8655/0.8655, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02628/0.02628, allocations: 7.107 MB / 267.1 MB, free: 6.324 MB / 250.7 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.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 393.7 MB, free: 3.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.799e-05, allocations: 2.281 kB / 393.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.006194/0.006222, allocations: 7.506 MB / 401.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004281/0.0105, allocations: 2.511 MB / 403.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009445/0.01145, allocations: 43.88 kB / 403.7 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007006/0.01215, allocations: 369.5 kB / 404.1 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.01462, allocations: 1.353 MB / 405.4 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.01491, allocations: 119.7 kB / 405.5 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.01719, allocations: 2.474 MB / 408 MB, free: 5.066 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009972/0.01819, allocations: 0.7058 MB / 408.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.01969, allocations: 1.325 MB / 410 MB, free: 3.012 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.02088, allocations: 1.278 MB / 411.3 MB, free: 1.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.02112, allocations: 224 kB / 411.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.02203, allocations: 0.7254 MB / 412.3 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1521/0.1741, allocations: 1.218 MB / 413.5 MB, free: 18.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.1754, allocations: 0.7899 MB / 414.3 MB, free: 18.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.181, allocations: 4.835 MB / 419.1 MB, free: 17.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.181, allocations: 2.219 kB / 419.1 MB, free: 17.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.181, allocations: 0 / 419.1 MB, free: 17.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001715/0.1812, allocations: 0 / 419.1 MB, free: 17.97 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01243/0.1936, allocations: 4.822 MB / 423.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1937, allocations: 10.84 kB / 423.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/0.1976, allocations: 1.791 MB / 425.7 MB, free: 16.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.2002, allocations: 1.341 MB / 427.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/0.2002, allocations: 141.2 kB / 427.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004097/0.2007, allocations: 188.2 kB / 427.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.2112, allocations: 8.169 MB / 435.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.834e-05/0.2112, allocations: 16.91 kB / 435.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/0.2115, allocations: 94.38 kB / 435.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001645/0.2131, allocations: 1.837 MB / 437.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.2244, allocations: 7.802 MB / 445.3 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.248, allocations: 22.4 MB / 467.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004877/0.2529, allocations: 2.192 MB / 469.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000991/0.2539, allocations: 0.9405 MB / 470.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003478/0.2574, allocations: 2.546 MB / 473.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2574, allocations: 44.98 kB / 473.4 MB, free: 8.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=142): time 3.236e-06/0.2574, allocations: 6.531 kB / 473.4 MB, free: 8.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=167): time 0.009901/0.2673, allocations: 7.384 MB / 480.8 MB, free: 1.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2674, allocations: 68.72 kB / 480.9 MB, free: 1.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.2696, allocations: 2.119 MB / 483 MB, free: 15.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/0.2697, allocations: 49.7 kB / 483.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009667/0.2707, allocations: 2.092 MB / 485.2 MB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003741/0.271, allocations: 0.6196 MB / 485.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007139/0.2718, allocations: 0.7746 MB / 486.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.2718, allocations: 345.9 kB / 486.9 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.2733, allocations: 1.335 MB / 488.2 MB, free: 9.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/0.2758, allocations: 3.384 MB / 491.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/0.2801, allocations: 5.104 MB / 496.7 MB, free: 15.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-05/0.2801, allocations: 24 kB / 496.7 MB, free: 15.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.005709/0.2858, allocations: 5.004 MB / 0.49 GB, free: 10.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.2859, allocations: 36 kB / 0.49 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.839e-05/0.2859, allocations: 72 kB / 0.4901 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/0.2865, allocations: 413.4 kB / 0.4905 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.288, allocations: 0.8383 MB / 0.4913 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/0.2928, allocations: 5.608 MB / 0.4968 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.2946, allocations: 188 kB / 0.497 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.295, allocations: 230.9 kB / 0.4972 GB, free: 2.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * 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 (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002321/0.2973, allocations: 1.534 MB / 0.4987 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.2975, allocations: 196.1 kB / 0.4989 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.3001, allocations: 2.323 MB / 0.5011 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.617e-05/0.3002, allocations: 27.98 kB / 0.5012 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3002, allocations: 4 kB / 0.5012 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.3002, allocations: 7.969 kB / 0.5012 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006581/0.3068, allocations: 4.956 MB / 0.506 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3068, allocations: 0 / 0.506 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.3073, allocations: 223.7 kB / 0.5062 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/0.3077, allocations: 276.4 kB / 0.5065 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.3078, allocations: 32.27 kB / 0.5065 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/0.3113, allocations: 4.39 MB / 0.5108 GB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3113, allocations: 10.02 kB / 0.5108 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.3148, allocations: 3.494 MB / 0.5142 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.3151, allocations: 178.7 kB / 0.5144 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.3153, allocations: 27.98 kB / 0.5144 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.3157, allocations: 63.94 kB / 0.5145 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3158, allocations: 112.6 kB / 0.5146 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.3159, allocations: 43.98 kB / 0.5146 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001388/0.3173, allocations: 1.247 MB / 0.5158 GB, free: 15.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3173, allocations: 4 kB / 0.5159 GB, free: 15.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002156/0.3194, allocations: 0.664 MB / 0.5165 GB, free: 14.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003143/0.3197, allocations: 165.6 kB / 0.5167 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004017/0.3237, allocations: 3.387 MB / 0.52 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3237, allocations: 0 / 0.52 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.3249, allocations: 1.251 MB / 0.5212 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00095/0.3259, allocations: 262.4 kB / 0.5214 GB, free: 9.777 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009206/0.3351, allocations: 6.869 MB / 0.5281 GB, free: 2.852 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.337, allocations: 2.004 MB / 0.5301 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.3376, allocations: 184.5 kB / 0.5303 GB, free: 0.625 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3376, allocations: 0 / 0.5303 GB, free: 0.625 MB / 426.7 MB Notification: Performance of Templates: time 0.1909/0.5285, allocations: 69.81 MB / 0.5984 GB, free: 152.7 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.519244344905019] Failed to read output from testmodel.py, exit status != 0: 0.5349144749343395 0.540781003 0.35831372 Calling exit ...