Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.001261/0.001261, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001521/0.001521, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.05267/0.05267, allocations: 9.241 MB / 322.5 MB, free: 9.84 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.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",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.002008/0.002008, allocations: 63.91 kB / 448.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.123, allocations: 55.47 MB / 0.4921 GB, free: 7.023 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01053/0.1335, allocations: 7.548 MB / 0.4995 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00582/0.1393, allocations: 2.616 MB / 0.502 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.1402, allocations: 39.88 kB / 0.5021 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008805/0.1411, allocations: 381.4 kB / 0.5024 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.1448, allocations: 1.447 MB / 0.5039 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.1455, allocations: 171.7 kB / 0.504 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003652/0.1491, allocations: 2.5 MB / 0.5065 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.1505, allocations: 0.7217 MB / 0.5072 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.152, allocations: 0.9183 MB / 0.5081 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.1541, allocations: 1.436 MB / 0.5095 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000573/0.1547, allocations: 228 kB / 0.5097 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.1569, allocations: 0.827 MB / 0.5105 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.1588, allocations: 1.223 MB / 0.5117 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.1609, allocations: 1.087 MB / 0.5127 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2623/0.4232, allocations: 5.05 MB / 0.5177 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.4232, allocations: 0.5625 kB / 0.5177 GB, free: 12.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4232, allocations: 0 / 0.5177 GB, free: 12.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000213/0.4234, allocations: 1.156 kB / 0.5177 GB, free: 12.4 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.02249/0.4459, allocations: 5.077 MB / 0.5226 GB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.446, allocations: 11.06 kB / 0.5226 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001512/0.4461, allocations: 69.91 kB / 0.5227 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001603/0.4477, allocations: 0.5378 MB / 0.5232 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00748/0.4552, allocations: 1.801 MB / 0.525 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.4589, allocations: 1.392 MB / 0.5264 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.4591, allocations: 147 kB / 0.5265 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.4601, allocations: 197.3 kB / 0.5267 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.479, allocations: 8.456 MB / 0.5349 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.4791, allocations: 27.03 kB / 0.535 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004225/0.4796, allocations: 93.91 kB / 0.5351 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003469/0.483, allocations: 1.886 MB / 0.5369 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/0.5057, allocations: 8.123 MB / 0.5448 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05385/0.5596, allocations: 24.37 MB / 0.5686 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.5701, allocations: 2.307 MB / 0.5709 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.572, allocations: 1.019 MB / 0.5719 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006838/0.5788, allocations: 2.873 MB / 0.5747 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.5789, allocations: 47.88 kB / 0.5747 GB, free: 8.539 MB / 414.1 MB Notification: Performance of pre-optimization done (n=155): time 5.68e-06/0.5789, allocations: 4 kB / 0.5747 GB, free: 8.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=173): time 0.021/0.5999, allocations: 8.122 MB / 0.5827 GB, free: 416 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.6, allocations: 68.72 kB / 0.5827 GB, free: 336 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/0.6045, allocations: 2.626 MB / 0.5853 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.6047, allocations: 49.7 kB / 0.5853 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.6065, allocations: 2.13 MB / 0.5874 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009586/0.6074, allocations: 0.6686 MB / 0.5881 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.6087, allocations: 0.8164 MB / 0.5889 GB, free: 10.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6088, allocations: 309.1 kB / 0.5892 GB, free: 9.711 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/0.6112, allocations: 1.366 MB / 0.5905 GB, free: 8.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/0.6158, allocations: 3.527 MB / 0.5939 GB, free: 3.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007921/0.6237, allocations: 5.318 MB / 0.5991 GB, free: 13.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.097e-05/0.6238, allocations: 24 kB / 0.5992 GB, free: 13.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01045/0.6343, allocations: 5.113 MB / 0.6042 GB, free: 8.844 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.6343, allocations: 36 kB / 0.6042 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-05/0.6344, allocations: 80.12 kB / 0.6043 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009446/0.6354, allocations: 318.8 kB / 0.6046 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/0.6385, allocations: 0.8968 MB / 0.6054 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00475/0.6432, allocations: 3.152 MB / 0.6085 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/0.6468, allocations: 192 kB / 0.6087 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008665/0.6476, allocations: 240 kB / 0.6089 GB, free: 3.836 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 (490): * Single equations (assignments): 484 * 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.003854/0.6515, allocations: 1.579 MB / 0.6105 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.652, allocations: 246.6 kB / 0.6107 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.6565, allocations: 2.338 MB / 0.613 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/0.6566, allocations: 27.98 kB / 0.613 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6566, allocations: 0 / 0.613 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.6566, allocations: 7.969 kB / 0.613 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.6687, allocations: 5.863 MB / 0.6188 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.6687, allocations: 4 kB / 0.6188 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.6699, allocations: 251.6 kB / 0.619 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007151/0.6706, allocations: 221.9 kB / 0.6192 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.6707, allocations: 32.06 kB / 0.6192 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.6742, allocations: 2.736 MB / 0.6219 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.6742, allocations: 4 kB / 0.6219 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006133/0.6803, allocations: 3.597 MB / 0.6254 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007674/0.6811, allocations: 242.5 kB / 0.6257 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.6814, allocations: 35.03 kB / 0.6257 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008708/0.6823, allocations: 71.86 kB / 0.6258 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.6825, allocations: 102.7 kB / 0.6259 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.6826, allocations: 51.98 kB / 0.6259 GB, free: 2.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002791/0.6854, allocations: 1.691 MB / 0.6276 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6854, allocations: 0 / 0.6276 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002996/0.6884, allocations: 0.6982 MB / 0.6282 GB, free: 15.79 MB / 478.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 (138): * Single equations (assignments): 132 * 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.006199/0.6946, allocations: 4.257 MB / 0.6324 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006432/0.7011, allocations: 3.265 MB / 0.6356 GB, free: 8.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.7011, allocations: 4.062 kB / 0.6356 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.703, allocations: 1.094 MB / 0.6367 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.7055, allocations: 402 kB / 0.637 GB, free: 6.719 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04938/0.7548, allocations: 29.13 MB / 0.6655 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/0.758, allocations: 2.034 MB / 0.6675 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003047/0.7611, allocations: 1.228 MB / 0.6687 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/0.7634, allocations: 1.327 MB / 0.67 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of SimCode: time 1.282e-06/0.7634, allocations: 3.938 kB / 0.67 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3366/1.1, allocations: 52.03 MB / 0.7208 GB, free: 182.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.78/20.88, allocations: 12.05 kB / 0.7208 GB, free: 182.8 MB / 0.545 GB " [Timeout remaining time 639] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.02214983094018] Failed to read output from testmodel.py, exit status != 0: 21.078155816998333 21.100734052 20.672216405 Calling exit ...