Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.001389/0.001389, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.00147/0.00147, allocations: 215 kB / 20.13 MB, free: 2.949 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.625/1.625, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.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.05073/0.05073, allocations: 9.229 MB / 318.8 MB, free: 15.55 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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="cs",version="2.0",platforms={"static"}) [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.002038/0.002038, allocations: 65.38 kB / 443.2 MB, free: 39.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1024, allocations: 55.43 MB / 498.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.008476/0.1109, allocations: 8.828 MB / 0.4956 GB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006556/0.1175, allocations: 2.787 MB / 0.4983 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.1188, allocations: 35.88 kB / 0.4984 GB, free: 10.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1199, allocations: 377.4 kB / 0.4987 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.1238, allocations: 1.444 MB / 0.5001 GB, free: 9.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.1246, allocations: 187.6 kB / 0.5003 GB, free: 8.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004099/0.1287, allocations: 2.534 MB / 0.5028 GB, free: 6.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.1302, allocations: 0.7567 MB / 0.5035 GB, free: 5.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.1321, allocations: 0.926 MB / 0.5044 GB, free: 4.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.1344, allocations: 1.448 MB / 0.5058 GB, free: 3.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006771/0.1351, allocations: 236 kB / 0.5061 GB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.1371, allocations: 0.9323 MB / 0.507 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.1387, allocations: 1.231 MB / 0.5082 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.1409, allocations: 1.565 MB / 0.5097 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007451/0.1483, allocations: 5.069 MB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1483, allocations: 0 / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1483, allocations: 0 / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001492/0.1485, allocations: 4 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01919/0.1677, allocations: 5.166 MB / 0.5197 GB, free: 4.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.1677, allocations: 12.03 kB / 0.5197 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001457/0.1679, allocations: 71.97 kB / 0.5198 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001198/0.1691, allocations: 0.5312 MB / 0.5203 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007445/0.1765, allocations: 1.804 MB / 0.5221 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.18, allocations: 1.453 MB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.1802, allocations: 151.8 kB / 0.5236 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007558/0.181, allocations: 195.8 kB / 0.5238 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.198, allocations: 8.472 MB / 0.5321 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.1982, allocations: 31.77 kB / 0.5321 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000639/0.1988, allocations: 91.86 kB / 0.5322 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003663/0.2025, allocations: 1.887 MB / 0.5341 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/0.2215, allocations: 8.144 MB / 0.542 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04451/0.266, allocations: 25.94 MB / 0.5673 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.2772, allocations: 2.764 MB / 0.57 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/0.2795, allocations: 1.021 MB / 0.571 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/0.2897, allocations: 5.043 MB / 0.576 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.2897, allocations: 43.88 kB / 0.576 GB, free: 9.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=157): time 4.208e-06/0.2897, allocations: 0 / 0.576 GB, free: 9.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=175): time 0.0222/0.3119, allocations: 8.489 MB / 0.5843 GB, free: 1.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.312, allocations: 68.72 kB / 0.5844 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2227/0.5348, allocations: 2.64 MB / 0.5869 GB, free: 89.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002782/0.535, allocations: 51.52 kB / 0.587 GB, free: 89.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.5364, allocations: 2.146 MB / 0.5891 GB, free: 88.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006894/0.5371, allocations: 0.6742 MB / 0.5897 GB, free: 88.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.5382, allocations: 0.8133 MB / 0.5905 GB, free: 87.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.5382, allocations: 303.2 kB / 0.5908 GB, free: 87.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.5403, allocations: 1.381 MB / 0.5922 GB, free: 87.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/0.5435, allocations: 3.538 MB / 0.5956 GB, free: 83.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006602/0.5501, allocations: 5.328 MB / 0.6008 GB, free: 79.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.5502, allocations: 21.59 kB / 0.6009 GB, free: 79.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008824/0.5591, allocations: 5.135 MB / 0.6059 GB, free: 77.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.5592, allocations: 38.19 kB / 0.6059 GB, free: 77.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.546e-05/0.5592, allocations: 76.53 kB / 0.606 GB, free: 77.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007436/0.56, allocations: 318.2 kB / 0.6063 GB, free: 77.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.5626, allocations: 0.905 MB / 0.6072 GB, free: 77.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.5657, allocations: 3.305 MB / 0.6104 GB, free: 75.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.5686, allocations: 197.9 kB / 0.6106 GB, free: 75.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004131/0.569, allocations: 238.5 kB / 0.6108 GB, free: 74.98 MB / 446.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 (493): * Single equations (assignments): 487 * 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.002258/0.5712, allocations: 1.57 MB / 0.6123 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.5716, allocations: 243.3 kB / 0.6126 GB, free: 73.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/0.575, allocations: 2.363 MB / 0.6149 GB, free: 71.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001125/0.5751, allocations: 35.72 kB / 0.6149 GB, free: 71.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5751, allocations: 4 kB / 0.6149 GB, free: 71.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.5751, allocations: 7.031 kB / 0.6149 GB, free: 71.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008266/0.5834, allocations: 6.25 MB / 0.621 GB, free: 65.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.5834, allocations: 6.516 kB / 0.621 GB, free: 65.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009788/0.5844, allocations: 251.7 kB / 0.6213 GB, free: 65.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005841/0.5849, allocations: 226.3 kB / 0.6215 GB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/0.585, allocations: 35.98 kB / 0.6215 GB, free: 65.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.5875, allocations: 2.876 MB / 0.6243 GB, free: 62.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5875, allocations: 4 kB / 0.6243 GB, free: 62.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.5919, allocations: 3.613 MB / 0.6279 GB, free: 58.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006128/0.5925, allocations: 319.5 kB / 0.6282 GB, free: 58.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.5927, allocations: 32 kB / 0.6282 GB, free: 58.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.5936, allocations: 65.56 kB / 0.6283 GB, free: 58.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.5938, allocations: 105 kB / 0.6284 GB, free: 58.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/0.5939, allocations: 61.06 kB / 0.6284 GB, free: 58.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001973/0.5959, allocations: 1.704 MB / 0.6301 GB, free: 56.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5959, allocations: 0 / 0.6301 GB, free: 56.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002679/0.5985, allocations: 0.6991 MB / 0.6308 GB, free: 55.61 MB / 446.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 (140): * Single equations (assignments): 134 * 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.00452/0.6031, allocations: 4.286 MB / 0.635 GB, free: 51.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005429/0.6085, allocations: 3.362 MB / 0.6382 GB, free: 47.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.6085, allocations: 0 / 0.6382 GB, free: 47.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.6102, allocations: 1.183 MB / 0.6394 GB, free: 46.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.6126, allocations: 396.2 kB / 0.6398 GB, free: 46.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03614/0.6488, allocations: 29.04 MB / 0.6681 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.6508, allocations: 2.596 MB / 0.6707 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002388/0.6532, allocations: 1.227 MB / 0.6719 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/0.6546, allocations: 1.343 MB / 0.6732 GB, free: 9.254 MB / 446.1 MB Notification: Performance of SimCode: time 1.163e-06/0.6546, allocations: 0 / 0.6732 GB, free: 9.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.7588, allocations: 50.3 MB / 0.7223 GB, free: 7.195 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.37/19.13, allocations: 8 kB / 0.7223 GB, free: 7.188 MB / 494.1 MB " [Timeout remaining time 641] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.33772318001138] Failed to read output from testmodel.py, exit status != 0: 19.303996044036467 19.319122073 19.167534872 Calling exit ...