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.001359/0.001359, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001513/0.001513, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.459/1.459, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.04704/0.04704, allocations: 7.109 MB / 266.3 MB, free: 9.777 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.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.563e-06/1.563e-06, allocations: 0 / 392.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.943e-05, allocations: 6.219 kB / 392.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01023/0.01026, allocations: 7.514 MB / 400.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005948/0.01621, allocations: 2.518 MB / 402.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.01722, allocations: 43.81 kB / 403 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.01811, allocations: 373.5 kB / 403.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003304/0.02142, allocations: 1.349 MB / 404.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.02179, allocations: 111.8 kB / 404.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.02484, allocations: 2.478 MB / 407.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009874/0.02582, allocations: 0.698 MB / 408 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.02751, allocations: 1.333 MB / 409.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.02927, allocations: 1.278 MB / 410.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.02963, allocations: 224 kB / 410.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.0309, allocations: 0.7215 MB / 411.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.03202, allocations: 1.227 MB / 412.7 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009841/0.03301, allocations: 0.7941 MB / 413.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005607/0.03861, allocations: 4.836 MB / 418.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.03862, allocations: 0 / 418.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.03862, allocations: 4 kB / 418.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.86e-05/0.03872, allocations: 0 / 418.4 MB, free: 15.63 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01837/0.05709, allocations: 4.821 MB / 423.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.05714, allocations: 8.625 kB / 423.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007624/0.06477, allocations: 1.843 MB / 425 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.06785, allocations: 1.331 MB / 426.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.06802, allocations: 139.8 kB / 426.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005087/0.06852, allocations: 192.2 kB / 426.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.0848, allocations: 8.147 MB / 434.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.588e-05/0.08487, allocations: 15.88 kB / 434.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.08521, allocations: 91.86 kB / 434.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003689/0.08889, allocations: 1.829 MB / 436.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.1072, allocations: 7.726 MB / 444.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2111/0.3183, allocations: 22.36 MB / 466.9 MB, free: 45.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009116/0.3275, allocations: 2.184 MB / 469 MB, free: 44.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.3288, allocations: 0.9321 MB / 470 MB, free: 44.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005189/0.334, allocations: 2.543 MB / 472.5 MB, free: 43.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3341, allocations: 44.34 kB / 472.6 MB, free: 43.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=142): time 4.488e-06/0.3341, allocations: 0 / 472.6 MB, free: 43.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=167): time 0.01362/0.3477, allocations: 7.341 MB / 479.9 MB, free: 40.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3477, allocations: 75.02 kB / 480 MB, free: 39.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.3501, allocations: 2.097 MB / 482.1 MB, free: 38.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.138e-05/0.3502, allocations: 45.27 kB / 482.1 MB, free: 38.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.3509, allocations: 2.086 MB / 484.2 MB, free: 37.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.3513, allocations: 0.6298 MB / 484.8 MB, free: 36.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008369/0.3521, allocations: 0.7714 MB / 485.6 MB, free: 35.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.3522, allocations: 341.9 kB / 485.9 MB, free: 35.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.3538, allocations: 1.331 MB / 487.3 MB, free: 34.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.3562, allocations: 3.382 MB / 490.6 MB, free: 29.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004385/0.3605, allocations: 5.099 MB / 495.7 MB, free: 23.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-05/0.3606, allocations: 20 kB / 495.8 MB, free: 23.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.007045/0.3676, allocations: 4.983 MB / 0.489 GB, free: 18.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.3677, allocations: 36 kB / 0.489 GB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-05/0.3677, allocations: 73.53 kB / 0.4891 GB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009533/0.3687, allocations: 417.9 kB / 0.4895 GB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.3709, allocations: 0.8344 MB / 0.4903 GB, free: 17.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/0.3763, allocations: 5.61 MB / 0.4958 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.3789, allocations: 195.9 kB / 0.496 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/0.3792, allocations: 231.5 kB / 0.4962 GB, free: 11.24 MB / 366.1 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.001983/0.3811, allocations: 1.534 MB / 0.4977 GB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.3814, allocations: 186.7 kB / 0.4979 GB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.3848, allocations: 2.295 MB / 0.5001 GB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-05/0.3849, allocations: 31.66 kB / 0.5002 GB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3849, allocations: 4 kB / 0.5002 GB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.3849, allocations: 11.91 kB / 0.5002 GB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.3925, allocations: 4.941 MB / 0.505 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3926, allocations: 7.984 kB / 0.505 GB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008814/0.3934, allocations: 219.7 kB / 0.5052 GB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006569/0.3941, allocations: 281.6 kB / 0.5055 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-05/0.3942, allocations: 31.94 kB / 0.5055 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00505/0.3992, allocations: 4.403 MB / 0.5098 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3992, allocations: 4 kB / 0.5098 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/0.4053, allocations: 3.472 MB / 0.5132 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.4059, allocations: 170.8 kB / 0.5134 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002757/0.4062, allocations: 31.94 kB / 0.5134 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008493/0.407, allocations: 63.92 kB / 0.5135 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.4073, allocations: 101.1 kB / 0.5136 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.4074, allocations: 55.92 kB / 0.5136 GB, free: 9.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002222/0.4096, allocations: 1.228 MB / 0.5148 GB, free: 7.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4096, allocations: 0 / 0.5148 GB, free: 7.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003468/0.4131, allocations: 0.6715 MB / 0.5155 GB, free: 7.203 MB / 382.1 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.0004712/0.4136, allocations: 158.9 kB / 0.5156 GB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006789/0.4203, allocations: 3.38 MB / 0.5189 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.4204, allocations: 0 / 0.5189 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.4227, allocations: 1.243 MB / 0.5201 GB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.4245, allocations: 245.9 kB / 0.5204 GB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.4383, allocations: 6.498 MB / 0.5267 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003701/0.442, allocations: 1.992 MB / 0.5287 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003271/0.4453, allocations: 1.122 MB / 0.5298 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.4459, allocations: 156.5 kB / 0.5299 GB, free: 8.285 MB / 398.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4459, allocations: 3.938 kB / 0.5299 GB, free: 8.281 MB / 398.1 MB Notification: Performance of Templates: time 0.04812/0.4941, allocations: 22.77 MB / 0.5521 GB, free: 1.809 MB / 414.1 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: 5.49090950936079] Failed to read output from testmodel.py, exit status != 0: 0.5036822631955147 0.51988557 0.47791349600000005 Calling exit ...