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.000743/0.000743, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008065/0.0008065, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9218/0.9218, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.02659/0.02659, allocations: 7.119 MB / 266.3 MB, free: 6.316 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: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 392.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.73e-05, allocations: 5.234 kB / 392.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.006018/0.006035, allocations: 7.781 MB / 400.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.009893, allocations: 2.647 MB / 402.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.01035, allocations: 35.88 kB / 402.9 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.01098, allocations: 381.3 kB / 403.2 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.01276, allocations: 1.497 MB / 404.7 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.01309, allocations: 171.6 kB / 404.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.01502, allocations: 2.587 MB / 407.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006616/0.01568, allocations: 0.7414 MB / 408.2 MB, free: 4.059 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.01685, allocations: 1.399 MB / 409.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.01791, allocations: 1.332 MB / 410.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.01816, allocations: 232 kB / 411.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.01908, allocations: 0.8698 MB / 412 MB, free: 228 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1547/0.1738, allocations: 1.263 MB / 413.3 MB, free: 17.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000987/0.1748, allocations: 0.8304 MB / 414.1 MB, free: 17.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005519/0.1803, allocations: 5.074 MB / 419.2 MB, free: 17.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1803, allocations: 0 / 419.2 MB, free: 17.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1803, allocations: 0 / 419.2 MB, free: 17.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000172/0.1805, allocations: 0 / 419.2 MB, free: 17.56 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01287/0.1934, allocations: 5.098 MB / 424.3 MB, free: 16.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1934, allocations: 10.94 kB / 424.3 MB, free: 16.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008967/0.1943, allocations: 0.5351 MB / 424.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/0.1985, allocations: 1.896 MB / 426.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.2018, allocations: 1.378 MB / 428.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2019, allocations: 149.9 kB / 428.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007356/0.2027, allocations: 199.2 kB / 428.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.213, allocations: 8.453 MB / 436.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/0.2131, allocations: 24.64 kB / 436.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.2133, allocations: 96.83 kB / 437 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.215, allocations: 1.882 MB / 438.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.2265, allocations: 8.063 MB / 447 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03062/0.2571, allocations: 24.44 MB / 471.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005864/0.263, allocations: 2.393 MB / 473.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.2641, allocations: 1.023 MB / 474.8 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004242/0.2684, allocations: 2.92 MB / 477.8 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.2684, allocations: 47.88 kB / 477.8 MB, free: 3.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=157): time 4.178e-06/0.2684, allocations: 0 / 477.8 MB, free: 3.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=175): time 0.01468/0.2831, allocations: 8.312 MB / 486.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.2831, allocations: 68.72 kB / 486.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003216/0.2863, allocations: 2.731 MB / 488.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.2865, allocations: 49.7 kB / 489 MB, free: 8.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.2876, allocations: 2.137 MB / 491.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/0.288, allocations: 0.6599 MB / 491.8 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000738/0.2888, allocations: 0.8064 MB / 492.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.2889, allocations: 301.1 kB / 492.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.2903, allocations: 1.37 MB / 494.2 MB, free: 3.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.2928, allocations: 3.53 MB / 497.8 MB, free: 14.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005007/0.2978, allocations: 5.31 MB / 0.4913 GB, free: 8.262 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.252e-05/0.2979, allocations: 24 kB / 0.4913 GB, free: 8.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008034/0.3059, allocations: 5.13 MB / 0.4963 GB, free: 3.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.306, allocations: 40.95 kB / 0.4964 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-05/0.306, allocations: 76 kB / 0.4964 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/0.3066, allocations: 315.7 kB / 0.4967 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/0.3087, allocations: 0.9123 MB / 0.4976 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.3116, allocations: 3.147 MB / 0.5007 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.3143, allocations: 208 kB / 0.5009 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007104/0.315, allocations: 236 kB / 0.5011 GB, free: 14.07 MB / 410.7 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.003022/0.318, allocations: 1.573 MB / 0.5027 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/0.3184, allocations: 246.3 kB / 0.5029 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.3215, allocations: 2.347 MB / 0.5052 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.195e-05/0.3216, allocations: 27.98 kB / 0.5052 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3216, allocations: 4 kB / 0.5052 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3216, allocations: 7.969 kB / 0.5052 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008502/0.3301, allocations: 5.896 MB / 0.511 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.3301, allocations: 4 kB / 0.511 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.3307, allocations: 255.6 kB / 0.5112 GB, free: 3.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003911/0.3311, allocations: 219.1 kB / 0.5114 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.3312, allocations: 32.06 kB / 0.5115 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.3335, allocations: 2.745 MB / 0.5141 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3335, allocations: 7.938 kB / 0.5142 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/0.3372, allocations: 3.597 MB / 0.5177 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/0.3379, allocations: 254.3 kB / 0.5179 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.3381, allocations: 24 kB / 0.5179 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.3386, allocations: 79.84 kB / 0.518 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.3387, allocations: 107 kB / 0.5181 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.115e-05/0.3388, allocations: 51.98 kB / 0.5182 GB, free: 12.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00259/0.3414, allocations: 1.676 MB / 0.5198 GB, free: 10.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3414, allocations: 0 / 0.5198 GB, free: 10.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003079/0.3445, allocations: 0.6936 MB / 0.5205 GB, free: 9.969 MB / 426.7 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.004124/0.3486, allocations: 4.269 MB / 0.5246 GB, free: 5.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004514/0.3531, allocations: 3.263 MB / 0.5278 GB, free: 2.367 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.3531, allocations: 4 kB / 0.5278 GB, free: 2.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.3544, allocations: 1.1 MB / 0.5289 GB, free: 1.254 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.3563, allocations: 388.8 kB / 0.5293 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03655/0.3928, allocations: 28.76 MB / 0.5574 GB, free: 1.262 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/0.395, allocations: 2.041 MB / 0.5594 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002024/0.397, allocations: 1.232 MB / 0.5606 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/0.3986, allocations: 1.344 MB / 0.5619 GB, free: 12.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3986, allocations: 0 / 0.5619 GB, free: 12.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2044/0.603, allocations: 50.8 MB / 0.6115 GB, free: 136.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.143/9.746, allocations: 6.688 kB / 0.6115 GB, free: 136.8 MB / 474.7 MB " [Timeout remaining time 650] (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: 11.557234940119088] Failed to read output from testmodel.py, exit status != 0: 9.856195008382201 9.862980665 9.681208999 Calling exit ...