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.001674/0.001674, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002087/0.002087, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.05091/0.05091, allocations: 9.235 MB / 318.1 MB, free: 11.22 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.00198/0.00198, allocations: 67.89 kB / 442.5 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1159, allocations: 55.43 MB / 498 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.0103/0.1262, allocations: 8.212 MB / 0.4943 GB, free: 2.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005915/0.1321, allocations: 2.581 MB / 0.4968 GB, free: 196 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008069/0.1329, allocations: 35.88 kB / 0.4969 GB, free: 160 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008924/0.1338, allocations: 365.6 kB / 0.4972 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.1375, allocations: 1.44 MB / 0.4986 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1379, allocations: 95.88 kB / 0.4987 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003257/0.1412, allocations: 2.426 MB / 0.5011 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.1423, allocations: 0.6964 MB / 0.5018 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.1438, allocations: 0.8833 MB / 0.5026 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.1459, allocations: 1.378 MB / 0.504 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004711/0.1464, allocations: 220 kB / 0.5042 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.148, allocations: 0.8581 MB / 0.505 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00129/0.1493, allocations: 1.207 MB / 0.5062 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.151, allocations: 1.518 MB / 0.5077 GB, free: 5.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006205/0.1572, allocations: 4.941 MB / 0.5125 GB, free: 68 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1572, allocations: 4 kB / 0.5125 GB, free: 64 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1572, allocations: 0 / 0.5125 GB, free: 64 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001641/0.1574, allocations: 0 / 0.5125 GB, free: 64 kB / 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.2303/0.3877, allocations: 4.855 MB / 0.5172 GB, free: 25.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3877, allocations: 11.62 kB / 0.5173 GB, free: 25.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000878/0.3886, allocations: 0.5374 MB / 0.5178 GB, free: 25.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007085/0.3957, allocations: 1.777 MB / 0.5195 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.3985, allocations: 1.333 MB / 0.5208 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3986, allocations: 146.9 kB / 0.521 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006539/0.3993, allocations: 190.5 kB / 0.5211 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.4142, allocations: 8.354 MB / 0.5293 GB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.243e-05/0.4142, allocations: 27.03 kB / 0.5293 GB, free: 21.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/0.4146, allocations: 93.53 kB / 0.5294 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0031/0.4177, allocations: 1.938 MB / 0.5313 GB, free: 20.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.433, allocations: 7.543 MB / 0.5387 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03422/0.4672, allocations: 26.33 MB / 0.5644 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007484/0.4747, allocations: 2.531 MB / 0.5669 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.4763, allocations: 0.818 MB / 0.5677 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007927/0.4842, allocations: 5.79 MB / 0.5733 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4842, allocations: 43.56 kB / 0.5734 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 3.437e-06/0.4842, allocations: 0 / 0.5734 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01709/0.5013, allocations: 6.991 MB / 0.5802 GB, free: 5.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.5014, allocations: 64.72 kB / 0.5802 GB, free: 5.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/0.5057, allocations: 2.619 MB / 0.5828 GB, free: 2.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.5059, allocations: 49.69 kB / 0.5828 GB, free: 2.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001836/0.5077, allocations: 2.227 MB / 0.585 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000759/0.5085, allocations: 0.6085 MB / 0.5856 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.5097, allocations: 0.842 MB / 0.5864 GB, free: 15.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5099, allocations: 305.1 kB / 0.5867 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.5123, allocations: 1.308 MB / 0.588 GB, free: 13.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004488/0.5168, allocations: 3.715 MB / 0.5916 GB, free: 8.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007398/0.5242, allocations: 5.447 MB / 0.5969 GB, free: 1.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.909e-05/0.5242, allocations: 28 kB / 0.597 GB, free: 1.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.0106/0.5348, allocations: 5.107 MB / 0.602 GB, free: 12.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.5349, allocations: 40 kB / 0.602 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.655e-05/0.535, allocations: 87.94 kB / 0.6021 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.5357, allocations: 272.8 kB / 0.6023 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/0.5387, allocations: 0.9279 MB / 0.6033 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004304/0.543, allocations: 3.2 MB / 0.6064 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.5459, allocations: 191.9 kB / 0.6066 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005368/0.5465, allocations: 265.1 kB / 0.6068 GB, free: 7.707 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.002558/0.549, allocations: 1.606 MB / 0.6084 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/0.5494, allocations: 239.6 kB / 0.6086 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.5531, allocations: 1.956 MB / 0.6105 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/0.5532, allocations: 36.81 kB / 0.6106 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5532, allocations: 8 kB / 0.6106 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.5532, allocations: 7.969 kB / 0.6106 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.5639, allocations: 5.925 MB / 0.6164 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.5639, allocations: 8 kB / 0.6164 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008773/0.5648, allocations: 215.7 kB / 0.6166 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/0.5652, allocations: 160.7 kB / 0.6167 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.5654, allocations: 37.67 kB / 0.6168 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/0.5686, allocations: 2.61 MB / 0.6193 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.5687, allocations: 8.219 kB / 0.6193 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/0.574, allocations: 3.136 MB / 0.6224 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.5747, allocations: 311.6 kB / 0.6227 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.575, allocations: 32.12 kB / 0.6227 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.5757, allocations: 59.94 kB / 0.6228 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.576, allocations: 100.8 kB / 0.6229 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/0.5761, allocations: 47.94 kB / 0.6229 GB, free: 6.789 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002796/0.5789, allocations: 1.668 MB / 0.6245 GB, free: 5.105 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5789, allocations: 0 / 0.6245 GB, free: 5.105 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003812/0.5827, allocations: 0.6796 MB / 0.6252 GB, free: 4.426 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.005686/0.5884, allocations: 3.783 MB / 0.6289 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006187/0.5945, allocations: 3.154 MB / 0.632 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5945, allocations: 0 / 0.632 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.5962, allocations: 0.9595 MB / 0.6329 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.5985, allocations: 386.8 kB / 0.6333 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05174/0.6502, allocations: 28.74 MB / 0.6613 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003468/0.6537, allocations: 2.593 MB / 0.6639 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003434/0.6571, allocations: 1.263 MB / 0.6651 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002218/0.6594, allocations: 1.284 MB / 0.6664 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of SimCode: time 1.713e-06/0.6594, allocations: 0 / 0.6664 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/0.763, allocations: 45.5 MB / 0.7108 GB, free: 9.574 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/17.26, allocations: 15.58 kB / 0.7108 GB, free: 9.562 MB / 0.545 GB " [Timeout remaining time 643] (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: 20.39371713300352] Failed to read output from testmodel.py, exit status != 0: 17.379768637998495 17.590961647 17.430783328 Calling exit ...