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.0014/0.0014, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.001512/0.001512, allocations: 219.4 kB / 22.24 MB, free: 5.105 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.82 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.04839/0.04839, allocations: 9.246 MB / 321.7 MB, free: 9.883 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",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.002009/0.002009, allocations: 67.89 kB / 447.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1073, allocations: 55.48 MB / 0.4914 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.009835/0.1172, allocations: 7.579 MB / 0.4988 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.123, allocations: 2.616 MB / 0.5013 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009885/0.124, allocations: 43.81 kB / 0.5014 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000861/0.1248, allocations: 373.5 kB / 0.5017 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.1281, allocations: 1.455 MB / 0.5031 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.1286, allocations: 167.7 kB / 0.5033 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002886/0.1314, allocations: 2.496 MB / 0.5057 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.1324, allocations: 0.7177 MB / 0.5064 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.1337, allocations: 0.9183 MB / 0.5073 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.1355, allocations: 1.385 MB / 0.5087 GB, free: 5.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004125/0.1359, allocations: 228 kB / 0.5089 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.1373, allocations: 0.8114 MB / 0.5097 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.1385, allocations: 1.223 MB / 0.5109 GB, free: 3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.1396, allocations: 1.083 MB / 0.5119 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.206/0.3456, allocations: 5.058 MB / 0.5169 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3456, allocations: 0 / 0.5169 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3456, allocations: 0.5938 kB / 0.5169 GB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000137/0.3457, allocations: 0.9688 kB / 0.5169 GB, free: 12.32 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.0181/0.3638, allocations: 5.075 MB / 0.5218 GB, free: 10.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3639, allocations: 10.2 kB / 0.5218 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001372/0.3652, allocations: 0.5404 MB / 0.5224 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007427/0.3727, allocations: 1.799 MB / 0.5241 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/0.3771, allocations: 1.396 MB / 0.5255 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.3773, allocations: 148 kB / 0.5256 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009311/0.3783, allocations: 197.9 kB / 0.5258 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.3943, allocations: 8.454 MB / 0.5341 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-05/0.3944, allocations: 20.78 kB / 0.5341 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/0.3948, allocations: 91.52 kB / 0.5342 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00316/0.3979, allocations: 1.886 MB / 0.536 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01761/0.4155, allocations: 8.106 MB / 0.5439 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03909/0.4546, allocations: 24.37 MB / 0.5677 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0098/0.4644, allocations: 2.307 MB / 0.57 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.4662, allocations: 1.019 MB / 0.571 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007115/0.4733, allocations: 2.88 MB / 0.5738 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.4734, allocations: 51.16 kB / 0.5739 GB, free: 8.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=155): time 5.871e-06/0.4734, allocations: 2.812 kB / 0.5739 GB, free: 8.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=173): time 0.02024/0.4936, allocations: 8.12 MB / 0.5818 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.4937, allocations: 68.72 kB / 0.5819 GB, free: 456 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.4979, allocations: 2.752 MB / 0.5845 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002266/0.4982, allocations: 45.7 kB / 0.5846 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.4997, allocations: 2.141 MB / 0.5867 GB, free: 11.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007402/0.5005, allocations: 0.6657 MB / 0.5873 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.5017, allocations: 0.8076 MB / 0.5881 GB, free: 10.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5018, allocations: 305.1 kB / 0.5884 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.5042, allocations: 1.374 MB / 0.5897 GB, free: 8.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/0.5084, allocations: 3.531 MB / 0.5932 GB, free: 3.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007283/0.5157, allocations: 5.307 MB / 0.5984 GB, free: 13.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-05/0.5158, allocations: 24 kB / 0.5984 GB, free: 13.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.0107/0.5265, allocations: 5.109 MB / 0.6034 GB, free: 8.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.5266, allocations: 39.94 kB / 0.6034 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.5267, allocations: 79.09 kB / 0.6035 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/0.5275, allocations: 319.7 kB / 0.6038 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/0.5307, allocations: 0.9016 MB / 0.6047 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/0.535, allocations: 3.15 MB / 0.6078 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.5381, allocations: 195.9 kB / 0.608 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006763/0.5388, allocations: 239.6 kB / 0.6082 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.002899/0.5417, allocations: 1.574 MB / 0.6097 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/0.5421, allocations: 242.9 kB / 0.6099 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.5465, allocations: 2.337 MB / 0.6122 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001124/0.5466, allocations: 31.98 kB / 0.6123 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.5466, allocations: 7.984 kB / 0.6123 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.5467, allocations: 4.547 kB / 0.6123 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.5599, allocations: 5.864 MB / 0.618 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.5599, allocations: 3.984 kB / 0.618 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.561, allocations: 247.7 kB / 0.6182 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/0.5617, allocations: 221.5 kB / 0.6185 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.5619, allocations: 32 kB / 0.6185 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003583/0.5655, allocations: 2.74 MB / 0.6212 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.5655, allocations: 11.77 kB / 0.6212 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00644/0.5719, allocations: 3.592 MB / 0.6247 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/0.5728, allocations: 242.6 kB / 0.6249 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005795/0.5734, allocations: 28 kB / 0.6249 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.5746, allocations: 67.92 kB / 0.625 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/0.5749, allocations: 109 kB / 0.6251 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.5751, allocations: 51.98 kB / 0.6252 GB, free: 2.199 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003728/0.5788, allocations: 1.695 MB / 0.6268 GB, free: 500 kB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5788, allocations: 0 / 0.6268 GB, free: 500 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.004064/0.5829, allocations: 0.6937 MB / 0.6275 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.00648/0.5893, allocations: 4.26 MB / 0.6316 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006122/0.5955, allocations: 3.27 MB / 0.6348 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5955, allocations: 0 / 0.6348 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.5973, allocations: 1.097 MB / 0.6359 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.002171/0.5995, allocations: 383.7 kB / 0.6363 GB, free: 6.734 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04908/0.6486, allocations: 29.15 MB / 0.6647 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003003/0.6516, allocations: 2.031 MB / 0.6667 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003123/0.6547, allocations: 1.228 MB / 0.6679 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/0.6569, allocations: 1.323 MB / 0.6692 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.6569, allocations: 0 / 0.6692 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/0.7653, allocations: 50.47 MB / 0.7185 GB, free: 156 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.26, allocations: 11.16 kB / 0.7185 GB, free: 148 kB / 0.545 GB " [Timeout remaining time 644] (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: 18.261999262031168] Failed to read output from testmodel.py, exit status != 0: 15.672071783803403 15.693288779 15.343343277 Calling exit ...