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.001378/0.001378, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001459/0.001459, allocations: 215 kB / 20.13 MB, free: 2.949 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.04892/0.04892, allocations: 9.23 MB / 318.8 MB, free: 15.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.WheelBasedCraneCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab",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.002062/0.002062, allocations: 68.78 kB / 443.2 MB, free: 39.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.09089, allocations: 55.43 MB / 498.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.007378/0.09827, allocations: 8.217 MB / 0.495 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005311/0.1036, allocations: 2.573 MB / 0.4975 GB, free: 11.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000901/0.1045, allocations: 35.88 kB / 0.4976 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.1054, allocations: 365.6 kB / 0.4979 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.1088, allocations: 1.432 MB / 0.4993 GB, free: 9.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1092, allocations: 107.8 kB / 0.4994 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.1126, allocations: 2.419 MB / 0.5018 GB, free: 7.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.1137, allocations: 0.6926 MB / 0.5024 GB, free: 6.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.1152, allocations: 0.8793 MB / 0.5033 GB, free: 5.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.1172, allocations: 1.378 MB / 0.5046 GB, free: 4.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004536/0.1176, allocations: 220 kB / 0.5049 GB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.1192, allocations: 0.862 MB / 0.5057 GB, free: 3.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.1206, allocations: 1.211 MB / 0.5069 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001855/0.1225, allocations: 1.518 MB / 0.5084 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006362/0.1289, allocations: 4.941 MB / 0.5132 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1289, allocations: 0 / 0.5132 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1289, allocations: 0 / 0.5132 GB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.129, allocations: 4 kB / 0.5132 GB, free: 11.65 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.01396/0.1429, allocations: 4.851 MB / 0.5179 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.143, allocations: 16.03 kB / 0.5179 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001062/0.1431, allocations: 67.83 kB / 0.518 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009609/0.144, allocations: 0.5469 MB / 0.5185 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007497/0.1515, allocations: 1.773 MB / 0.5203 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/0.1544, allocations: 1.338 MB / 0.5216 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.1546, allocations: 143.9 kB / 0.5217 GB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006201/0.1552, allocations: 195.8 kB / 0.5219 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.1707, allocations: 8.345 MB / 0.5301 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.303e-05/0.1708, allocations: 27.77 kB / 0.5301 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.1711, allocations: 91.86 kB / 0.5302 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003609/0.1748, allocations: 1.938 MB / 0.5321 GB, free: 7.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.1905, allocations: 7.546 MB / 0.5394 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04023/0.2308, allocations: 26.33 MB / 0.5651 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007888/0.2387, allocations: 2.538 MB / 0.5676 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.2403, allocations: 0.8181 MB / 0.5684 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008503/0.2488, allocations: 5.766 MB / 0.5741 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2488, allocations: 43.56 kB / 0.5741 GB, free: 11.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=141): time 4.388e-06/0.2488, allocations: 0 / 0.5741 GB, free: 11.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.01805/0.2669, allocations: 7.004 MB / 0.5809 GB, free: 4.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.2669, allocations: 64.72 kB / 0.581 GB, free: 4.195 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00448/0.2714, allocations: 2.622 MB / 0.5836 GB, free: 1.543 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.2717, allocations: 49.7 kB / 0.5836 GB, free: 1.488 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2031/0.4747, allocations: 2.217 MB / 0.5858 GB, free: 89.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005854/0.4753, allocations: 0.6111 MB / 0.5864 GB, free: 89.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.4766, allocations: 0.8483 MB / 0.5872 GB, free: 89.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.4767, allocations: 304.6 kB / 0.5875 GB, free: 89.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.4789, allocations: 1.31 MB / 0.5888 GB, free: 89.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.482, allocations: 3.707 MB / 0.5924 GB, free: 85.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005577/0.4876, allocations: 5.441 MB / 0.5977 GB, free: 80.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-05/0.4877, allocations: 24.81 kB / 0.5977 GB, free: 80.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01029/0.498, allocations: 5.115 MB / 0.6027 GB, free: 79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.4981, allocations: 39.41 kB / 0.6028 GB, free: 79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.6e-05/0.4981, allocations: 86.62 kB / 0.6028 GB, free: 79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/0.4989, allocations: 268.9 kB / 0.6031 GB, free: 78.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/0.5017, allocations: 0.9336 MB / 0.604 GB, free: 78.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.505, allocations: 3.196 MB / 0.6071 GB, free: 76.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/0.5078, allocations: 204.6 kB / 0.6073 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005437/0.5084, allocations: 252.4 kB / 0.6076 GB, free: 76.55 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.002609/0.511, allocations: 1.616 MB / 0.6091 GB, free: 75.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004201/0.5114, allocations: 235.8 kB / 0.6094 GB, free: 75.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.5145, allocations: 1.964 MB / 0.6113 GB, free: 74.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/0.5146, allocations: 23.75 kB / 0.6113 GB, free: 74.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5146, allocations: 4 kB / 0.6113 GB, free: 74.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.5146, allocations: 7.453 kB / 0.6113 GB, free: 74.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008361/0.5229, allocations: 5.931 MB / 0.6171 GB, free: 69.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.523, allocations: 8 kB / 0.6171 GB, free: 69.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/0.5238, allocations: 215.7 kB / 0.6173 GB, free: 69.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.5243, allocations: 175.2 kB / 0.6175 GB, free: 68.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.5244, allocations: 35.98 kB / 0.6175 GB, free: 68.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.5266, allocations: 2.599 MB / 0.6201 GB, free: 66.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5266, allocations: 11.12 kB / 0.6201 GB, free: 66.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/0.5303, allocations: 3.136 MB / 0.6231 GB, free: 62.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/0.5308, allocations: 321.6 kB / 0.6234 GB, free: 62.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003606/0.5312, allocations: 28 kB / 0.6235 GB, free: 62.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/0.5321, allocations: 60.48 kB / 0.6235 GB, free: 62.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.5323, allocations: 96.77 kB / 0.6236 GB, free: 62.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/0.5324, allocations: 55.42 kB / 0.6237 GB, free: 62.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002132/0.5345, allocations: 1.668 MB / 0.6253 GB, free: 60.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5345, allocations: 0 / 0.6253 GB, free: 60.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003086/0.5376, allocations: 0.6691 MB / 0.626 GB, free: 59.95 MB / 446.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.00411/0.5417, allocations: 3.774 MB / 0.6296 GB, free: 56.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004754/0.5465, allocations: 3.147 MB / 0.6327 GB, free: 52.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.5465, allocations: 0.5 kB / 0.6327 GB, free: 52.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.5478, allocations: 0.9706 MB / 0.6337 GB, free: 51.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.55, allocations: 393.8 kB / 0.634 GB, free: 51.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/0.5837, allocations: 28.74 MB / 0.6621 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002732/0.5865, allocations: 2.587 MB / 0.6646 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002592/0.5891, allocations: 1.258 MB / 0.6659 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/0.5906, allocations: 1.288 MB / 0.6671 GB, free: 14.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5906, allocations: 0 / 0.6671 GB, free: 14.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08875/0.6794, allocations: 45.55 MB / 0.7116 GB, free: 1.168 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/18, allocations: 11.92 kB / 0.7116 GB, free: 1.156 MB / 478.1 MB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab_fmu --startTime=0 --stopTime=4.5 --stepSize=0.0018 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_Examples_WheelBasedCraneCrab.fmu > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.945501826994587] Failed to read output from testmodel.py, exit status != 0: 18.17734749102965 18.199629403 18.066392698 Calling exit ...