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.001606/0.001606, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002413/0.002413, allocations: 220.7 kB / 22.26 MB, free: 5.125 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.004 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.04853/0.04853, allocations: 9.241 MB / 321.7 MB, free: 10.07 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.003205/0.003205, allocations: 75.89 kB / 447.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1434, allocations: 55.46 MB / 0.4914 GB, free: 7.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.009946/0.1534, allocations: 8.241 MB / 0.4995 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00547/0.1588, allocations: 2.585 MB / 0.502 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009546/0.1598, allocations: 35.94 kB / 0.502 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.1607, allocations: 373.5 kB / 0.5024 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003354/0.164, allocations: 1.44 MB / 0.5038 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.1644, allocations: 95.89 kB / 0.5039 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003502/0.1679, allocations: 2.416 MB / 0.5062 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.169, allocations: 0.6811 MB / 0.5069 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.1704, allocations: 0.8871 MB / 0.5078 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.1723, allocations: 1.374 MB / 0.5091 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004378/0.1728, allocations: 220 kB / 0.5093 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.1746, allocations: 0.8581 MB / 0.5102 GB, free: 4.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.176, allocations: 1.223 MB / 0.5113 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.178, allocations: 1.514 MB / 0.5128 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2806/0.4586, allocations: 4.942 MB / 0.5177 GB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4586, allocations: 0 / 0.5177 GB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4586, allocations: 2.094 kB / 0.5177 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001625/0.4588, allocations: 0.7031 kB / 0.5177 GB, free: 12.5 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.01515/0.4739, allocations: 4.783 MB / 0.5223 GB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.474, allocations: 9.969 kB / 0.5223 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001077/0.4751, allocations: 0.5345 MB / 0.5229 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007076/0.4821, allocations: 1.78 MB / 0.5246 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/0.4864, allocations: 1.267 MB / 0.5258 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.4865, allocations: 145.6 kB / 0.526 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008191/0.4874, allocations: 189.8 kB / 0.5262 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.505, allocations: 8.357 MB / 0.5343 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.946e-05/0.5051, allocations: 24.61 kB / 0.5343 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.5054, allocations: 90.47 kB / 0.5344 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003282/0.5087, allocations: 1.942 MB / 0.5363 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.5275, allocations: 7.548 MB / 0.5437 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04633/0.5739, allocations: 26.26 MB / 0.5693 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007453/0.5813, allocations: 2.084 MB / 0.5714 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.5831, allocations: 0.8205 MB / 0.5722 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007569/0.5906, allocations: 3.306 MB / 0.5754 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.503e-05/0.5907, allocations: 47.55 kB / 0.5754 GB, free: 7.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 5.841e-06/0.5907, allocations: 0 / 0.5754 GB, free: 7.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01709/0.6078, allocations: 6.848 MB / 0.5821 GB, free: 268 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.6079, allocations: 64.72 kB / 0.5822 GB, free: 192 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/0.613, allocations: 2.623 MB / 0.5848 GB, free: 13.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.6132, allocations: 49.7 kB / 0.5848 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.6154, allocations: 2.227 MB / 0.587 GB, free: 11.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009622/0.6164, allocations: 0.6064 MB / 0.5876 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.6177, allocations: 0.8439 MB / 0.5884 GB, free: 9.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6178, allocations: 305.1 kB / 0.5887 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.6201, allocations: 1.308 MB / 0.59 GB, free: 8.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/0.6246, allocations: 3.717 MB / 0.5936 GB, free: 3.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00747/0.6321, allocations: 5.443 MB / 0.5989 GB, free: 13.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.89e-05/0.6321, allocations: 24 kB / 0.5989 GB, free: 13.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009295/0.6414, allocations: 5.114 MB / 0.6039 GB, free: 8.129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/0.6415, allocations: 40 kB / 0.604 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.882e-05/0.6416, allocations: 84 kB / 0.604 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006907/0.6423, allocations: 272.7 kB / 0.6043 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/0.6451, allocations: 0.9319 MB / 0.6052 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/0.6493, allocations: 3.097 MB / 0.6082 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.6521, allocations: 203.9 kB / 0.6084 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/0.6525, allocations: 256 kB / 0.6087 GB, free: 3.156 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.002955/0.6554, allocations: 1.603 MB / 0.6102 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/0.6559, allocations: 238.4 kB / 0.6105 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/0.6594, allocations: 1.968 MB / 0.6124 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/0.6595, allocations: 27.98 kB / 0.6124 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6595, allocations: 0.75 kB / 0.6124 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.6595, allocations: 3.984 kB / 0.6124 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.6705, allocations: 5.895 MB / 0.6182 GB, free: 9.281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.6705, allocations: 4 kB / 0.6182 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008523/0.6714, allocations: 211.7 kB / 0.6184 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.6718, allocations: 171.8 kB / 0.6185 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.933e-05/0.6719, allocations: 35.64 kB / 0.6186 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00325/0.6752, allocations: 2.513 MB / 0.621 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.6752, allocations: 4 kB / 0.621 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0047/0.6799, allocations: 3.135 MB / 0.6241 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000669/0.6805, allocations: 238.4 kB / 0.6243 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.6808, allocations: 35.98 kB / 0.6244 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/0.6815, allocations: 55.94 kB / 0.6244 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.6817, allocations: 105.4 kB / 0.6245 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6818, allocations: 47.05 kB / 0.6246 GB, free: 2.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002881/0.6847, allocations: 1.672 MB / 0.6262 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6847, allocations: 0 / 0.6262 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00316/0.6879, allocations: 0.6718 MB / 0.6268 GB, free: 216 kB / 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.00535/0.6932, allocations: 3.786 MB / 0.6305 GB, free: 12.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005791/0.699, allocations: 3.135 MB / 0.6336 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.699, allocations: 0 / 0.6336 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.7005, allocations: 0.9649 MB / 0.6346 GB, free: 8.227 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.7025, allocations: 388.9 kB / 0.6349 GB, free: 7.863 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0446/0.7471, allocations: 28.83 MB / 0.6631 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/0.7502, allocations: 2.584 MB / 0.6656 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002798/0.753, allocations: 1.263 MB / 0.6668 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/0.7547, allocations: 1.284 MB / 0.6681 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/0.7547, allocations: 0 / 0.6681 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.8596, allocations: 48.95 MB / 0.7159 GB, free: 1.957 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.96/20.82, allocations: 10.11 kB / 0.7159 GB, free: 1.953 MB / 0.545 GB " [Timeout remaining time 639] (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: 24.031255342000804] Failed to read output from testmodel.py, exit status != 0: 20.967355846998544 21.309865874 20.846911033 Calling exit ...