Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.001853/0.001853, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002478/0.002478, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.518/1.518, allocations: 230.6 MB / 256 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.04834/0.04834, allocations: 9.252 MB / 321.7 MB, free: 9.848 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.Examples.WheelBasedCraneCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.WheelBasedCraneCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab",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.002259/0.002259, allocations: 71.89 kB / 447.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1156, allocations: 55.47 MB / 0.4913 GB, free: 7.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01051/0.1261, allocations: 7.217 MB / 0.4984 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005733/0.1318, allocations: 2.429 MB / 0.5008 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009783/0.1328, allocations: 39.88 kB / 0.5008 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.1337, allocations: 369.6 kB / 0.5011 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.1374, allocations: 1.44 MB / 0.5026 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1378, allocations: 103.8 kB / 0.5027 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003036/0.1408, allocations: 2.402 MB / 0.505 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.1418, allocations: 0.6772 MB / 0.5057 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.1431, allocations: 0.8755 MB / 0.5065 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.145, allocations: 1.335 MB / 0.5078 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004201/0.1454, allocations: 220 kB / 0.508 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.1468, allocations: 0.7372 MB / 0.5087 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.148, allocations: 1.223 MB / 0.5099 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.1493, allocations: 1.055 MB / 0.511 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2205/0.3699, allocations: 4.944 MB / 0.5158 GB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3699, allocations: 0.5625 kB / 0.5158 GB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3699, allocations: 0.5938 kB / 0.5158 GB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.37, allocations: 0.5312 kB / 0.5158 GB, free: 12.25 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01208/0.3821, allocations: 4.781 MB / 0.5205 GB, free: 10.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3821, allocations: 9.688 kB / 0.5205 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008286/0.3829, allocations: 0.5443 MB / 0.521 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006448/0.3894, allocations: 1.774 MB / 0.5227 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.3926, allocations: 1.281 MB / 0.524 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.3927, allocations: 141.4 kB / 0.5241 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006133/0.3933, allocations: 192.4 kB / 0.5243 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.4081, allocations: 8.356 MB / 0.5325 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.812e-05/0.4082, allocations: 29.2 kB / 0.5325 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/0.4086, allocations: 88.95 kB / 0.5326 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00313/0.4117, allocations: 1.943 MB / 0.5345 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/0.4283, allocations: 7.529 MB / 0.5418 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04277/0.4711, allocations: 24.82 MB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.4784, allocations: 2.075 MB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.4801, allocations: 0.8248 MB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007628/0.4877, allocations: 3.06 MB / 0.5719 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.4877, allocations: 43.56 kB / 0.5719 GB, free: 9.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 7.054e-06/0.4877, allocations: 4 kB / 0.5719 GB, free: 9.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01665/0.5044, allocations: 6.839 MB / 0.5786 GB, free: 3.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.5045, allocations: 72.7 kB / 0.5787 GB, free: 2.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/0.5094, allocations: 2.761 MB / 0.5814 GB, free: 148 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.5095, allocations: 48.59 kB / 0.5814 GB, free: 96 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001957/0.5115, allocations: 2.227 MB / 0.5836 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007008/0.5122, allocations: 0.6089 MB / 0.5842 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.5135, allocations: 0.8454 MB / 0.585 GB, free: 12.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5137, allocations: 305.1 kB / 0.5853 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.516, allocations: 1.308 MB / 0.5866 GB, free: 10.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004588/0.5206, allocations: 3.714 MB / 0.5902 GB, free: 5.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007413/0.528, allocations: 5.456 MB / 0.5955 GB, free: 15.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.691e-05/0.5281, allocations: 25.75 kB / 0.5956 GB, free: 15.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009981/0.5381, allocations: 5.104 MB / 0.6006 GB, free: 10.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.5382, allocations: 40 kB / 0.6006 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.5383, allocations: 84.91 kB / 0.6007 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/0.5391, allocations: 281.3 kB / 0.6009 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/0.5422, allocations: 0.928 MB / 0.6019 GB, free: 9.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/0.5466, allocations: 3.065 MB / 0.6048 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.5495, allocations: 203.9 kB / 0.605 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006175/0.5502, allocations: 250.3 kB / 0.6053 GB, free: 5.719 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (510): * Single equations (assignments): 505 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.003145/0.5533, allocations: 1.619 MB / 0.6069 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.5538, allocations: 234.4 kB / 0.6071 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.5578, allocations: 1.964 MB / 0.609 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000113/0.5579, allocations: 31.97 kB / 0.609 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.5579, allocations: 4 kB / 0.609 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.5579, allocations: 7.984 kB / 0.609 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.5708, allocations: 5.653 MB / 0.6146 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.5708, allocations: 8.656 kB / 0.6146 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/0.5717, allocations: 211.7 kB / 0.6148 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/0.5722, allocations: 171.7 kB / 0.6149 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5723, allocations: 32.86 kB / 0.615 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003222/0.5755, allocations: 2.499 MB / 0.6174 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.5755, allocations: 7.938 kB / 0.6174 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005266/0.5808, allocations: 3.131 MB / 0.6205 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008038/0.5816, allocations: 234.5 kB / 0.6207 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005254/0.5821, allocations: 31.98 kB / 0.6207 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5831, allocations: 55.94 kB / 0.6208 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.5833, allocations: 104.7 kB / 0.6209 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.5835, allocations: 54.41 kB / 0.6209 GB, free: 5.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003486/0.5869, allocations: 1.668 MB / 0.6226 GB, free: 3.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5869, allocations: 288 / 0.6226 GB, free: 3.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003773/0.5907, allocations: 0.6679 MB / 0.6232 GB, free: 3.012 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,revolute.phi,revolute.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 (118): * Single equations (assignments): 113 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005924/0.5966, allocations: 3.783 MB / 0.6269 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006184/0.6028, allocations: 3.143 MB / 0.63 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.6028, allocations: 0 / 0.63 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.6046, allocations: 0.9705 MB / 0.6309 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.607, allocations: 379.5 kB / 0.6313 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04985/0.6568, allocations: 28.82 MB / 0.6594 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003639/0.6605, allocations: 2.028 MB / 0.6614 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003343/0.6638, allocations: 1.265 MB / 0.6627 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/0.6661, allocations: 1.28 MB / 0.6639 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.6661, allocations: 4 kB / 0.6639 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/0.811, allocations: 45.67 MB / 0.7085 GB, free: 8.824 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.64, allocations: 7.125 kB / 0.7085 GB, free: 8.82 MB / 0.545 GB " [Timeout remaining time 644] (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab_res.csv --start-time 0 --stop-time 4.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0018 PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab.fmu > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.641354149207473] Failed to read output from testmodel.py, exit status != 0: 15.791661189869046 16.009808078 15.636868748 Calling exit ...