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.001891/0.001891, allocations: 79.73 kB / 19.76 MB, free: 1.875 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.002995/0.002995, allocations: 156.2 kB / 23.01 MB, free: 4.598 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.2 MB / 203.4 MB, free: 8.957 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.04641/0.04641, allocations: 7.13 MB / 266.9 MB, free: 9.734 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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.91 kB / 393.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09943, allocations: 55.44 MB / 448.8 MB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.009747/0.1092, allocations: 7.503 MB / 456.3 MB, free: 11.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00551/0.1147, allocations: 2.507 MB / 458.8 MB, free: 8.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007434/0.1154, allocations: 39.88 kB / 458.9 MB, free: 8.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008379/0.1163, allocations: 369.6 kB / 459.2 MB, free: 8.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.119, allocations: 1.311 MB / 460.5 MB, free: 7.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1193, allocations: 111.8 kB / 460.7 MB, free: 7.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.1221, allocations: 2.414 MB / 463.1 MB, free: 4.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009596/0.123, allocations: 0.6982 MB / 463.8 MB, free: 3.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.1241, allocations: 0.8911 MB / 464.7 MB, free: 3.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.1258, allocations: 1.327 MB / 466 MB, free: 1.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.1262, allocations: 220 kB / 466.2 MB, free: 1.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1274, allocations: 0.6709 MB / 466.9 MB, free: 0.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.1286, allocations: 1.188 MB / 468.1 MB, free: 15.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.1298, allocations: 1.06 MB / 469.1 MB, free: 14.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005474/0.1353, allocations: 4.852 MB / 474 MB, free: 9.664 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1353, allocations: 0 / 474 MB, free: 9.664 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1353, allocations: 0 / 474 MB, free: 9.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.1354, allocations: 0 / 474 MB, free: 9.664 MB / 446.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.01629/0.1517, allocations: 4.864 MB / 478.8 MB, free: 4.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1517, allocations: 12.62 kB / 478.8 MB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007102/0.1588, allocations: 1.847 MB / 480.7 MB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.1617, allocations: 1.32 MB / 482 MB, free: 1.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.1618, allocations: 143.8 kB / 482.2 MB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/0.1622, allocations: 191.8 kB / 482.3 MB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2252/0.3874, allocations: 8.132 MB / 490.5 MB, free: 65.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.3875, allocations: 23.97 kB / 490.5 MB, free: 65.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002579/0.3877, allocations: 92.75 kB / 490.6 MB, free: 65.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002527/0.3902, allocations: 1.839 MB / 492.4 MB, free: 65.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/0.4025, allocations: 7.723 MB / 0.4884 GB, free: 62.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/0.428, allocations: 22.4 MB / 0.5103 GB, free: 48.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008627/0.4366, allocations: 2.183 MB / 0.5124 GB, free: 47.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.438, allocations: 0.9314 MB / 0.5133 GB, free: 47.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004833/0.4428, allocations: 2.546 MB / 0.5158 GB, free: 46.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4428, allocations: 45.16 kB / 0.5159 GB, free: 46.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=142): time 3.666e-06/0.4428, allocations: 1.031 kB / 0.5159 GB, free: 46.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=167): time 0.01395/0.4568, allocations: 7.349 MB / 0.523 GB, free: 43.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4568, allocations: 70.08 kB / 0.5231 GB, free: 43.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.4595, allocations: 2.092 MB / 0.5252 GB, free: 42.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/0.4595, allocations: 51.33 kB / 0.5252 GB, free: 42.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.4606, allocations: 2.104 MB / 0.5273 GB, free: 40.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/0.461, allocations: 0.631 MB / 0.5279 GB, free: 40.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009324/0.4619, allocations: 0.7888 MB / 0.5286 GB, free: 40.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.462, allocations: 344.5 kB / 0.529 GB, free: 39.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.4641, allocations: 1.328 MB / 0.5303 GB, free: 39.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/0.467, allocations: 3.378 MB / 0.5336 GB, free: 36.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/0.4724, allocations: 5.098 MB / 0.5386 GB, free: 32.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.561e-05/0.4724, allocations: 23.59 kB / 0.5386 GB, free: 32.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.007611/0.4801, allocations: 4.986 MB / 0.5434 GB, free: 28.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.4801, allocations: 36 kB / 0.5435 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.555e-05/0.4802, allocations: 72 kB / 0.5435 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009261/0.4811, allocations: 410.4 kB / 0.5439 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/0.4833, allocations: 0.8362 MB / 0.5448 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.4889, allocations: 5.619 MB / 0.5502 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.4916, allocations: 193.5 kB / 0.5504 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/0.4919, allocations: 227.8 kB / 0.5506 GB, free: 21.6 MB / 446.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.001964/0.4939, allocations: 1.545 MB / 0.5522 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.4941, allocations: 194.7 kB / 0.5523 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/0.4975, allocations: 2.288 MB / 0.5546 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-05/0.4976, allocations: 28.03 kB / 0.5546 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.4976, allocations: 4.656 kB / 0.5546 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.4977, allocations: 10.83 kB / 0.5546 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00767/0.5053, allocations: 4.954 MB / 0.5595 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.5053, allocations: 4 kB / 0.5595 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.5062, allocations: 222.7 kB / 0.5597 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006268/0.5068, allocations: 270.2 kB / 0.5599 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.5069, allocations: 35.94 kB / 0.56 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.5106, allocations: 4.396 MB / 0.5643 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5106, allocations: 4 kB / 0.5643 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.5147, allocations: 3.476 MB / 0.5676 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.5151, allocations: 182.7 kB / 0.5678 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.5153, allocations: 28 kB / 0.5679 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007683/0.516, allocations: 67.92 kB / 0.5679 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5162, allocations: 97.12 kB / 0.568 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.839e-05/0.5163, allocations: 47.98 kB / 0.5681 GB, free: 5.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.5177, allocations: 1.232 MB / 0.5693 GB, free: 4.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5177, allocations: 0 / 0.5693 GB, free: 4.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002777/0.5205, allocations: 0.6718 MB / 0.5699 GB, free: 3.441 MB / 446.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.0002854/0.5207, allocations: 165.1 kB / 0.5701 GB, free: 3.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004629/0.5254, allocations: 3.373 MB / 0.5734 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5254, allocations: 0 / 0.5734 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.5274, allocations: 1.246 MB / 0.5746 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5287, allocations: 253.1 kB / 0.5748 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5403, allocations: 6.606 MB / 0.5813 GB, free: 7.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/0.5431, allocations: 1.996 MB / 0.5832 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002679/0.5457, allocations: 1.115 MB / 0.5843 GB, free: 4.566 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.5462, allocations: 156.5 kB / 0.5845 GB, free: 4.414 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5462, allocations: 0 / 0.5845 GB, free: 4.414 MB / 462.1 MB Notification: Performance of Templates: time 0.04596/0.5921, allocations: 22.84 MB / 0.6068 GB, free: 13.85 MB / 494.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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.585214636987075] Failed to read output from testmodel.py, exit status != 0: 0.6014252570457757 0.616467384 0.47792826000000005 Calling exit ...