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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.04842/0.04842, allocations: 9.244 MB / 311.9 MB, free: 0.7422 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 63.91 kB / 434 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09357/0.09538, allocations: 54.25 MB / 488.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01035/0.1057, allocations: 8.232 MB / 496.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.111, allocations: 2.534 MB / 499.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009007/0.1119, allocations: 31.94 kB / 499.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.1128, allocations: 369.6 kB / 499.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003228/0.116, allocations: 1.444 MB / 0.4892 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.1164, allocations: 99.81 kB / 0.4892 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003169/0.1195, allocations: 2.44 MB / 0.4916 GB, free: 8.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.1205, allocations: 0.6886 MB / 0.4923 GB, free: 7.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1218, allocations: 0.8676 MB / 0.4931 GB, free: 6.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.1237, allocations: 1.386 MB / 0.4945 GB, free: 5.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.124, allocations: 220 kB / 0.4947 GB, free: 5.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.1255, allocations: 0.8542 MB / 0.4955 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.1268, allocations: 1.223 MB / 0.4967 GB, free: 3.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.1285, allocations: 1.534 MB / 0.4982 GB, free: 1.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006273/0.1347, allocations: 4.983 MB / 0.5031 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1348, allocations: 0 / 0.5031 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1348, allocations: 4 kB / 0.5031 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000133/0.1349, allocations: 0 / 0.5031 GB, free: 12.68 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.01247/0.1474, allocations: 4.807 MB / 0.5078 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1474, allocations: 11.97 kB / 0.5078 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007947/0.1482, allocations: 0.5392 MB / 0.5083 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006432/0.1546, allocations: 1.773 MB / 0.5101 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.1578, allocations: 1.33 MB / 0.5114 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.1579, allocations: 143.9 kB / 0.5115 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004393/0.1584, allocations: 191.9 kB / 0.5117 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2038/0.3622, allocations: 8.349 MB / 0.5198 GB, free: 31.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.624e-05/0.3623, allocations: 27.5 kB / 0.5199 GB, free: 31.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/0.3626, allocations: 92.19 kB / 0.52 GB, free: 31.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002913/0.3655, allocations: 1.937 MB / 0.5219 GB, free: 30.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/0.3835, allocations: 7.547 MB / 0.5292 GB, free: 28.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.414, allocations: 26.34 MB / 0.5549 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006071/0.4201, allocations: 2.53 MB / 0.5574 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.4212, allocations: 0.8181 MB / 0.5582 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007132/0.4283, allocations: 5.776 MB / 0.5639 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.4284, allocations: 43.56 kB / 0.5639 GB, free: 14.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=141): time 3.637e-06/0.4284, allocations: 0 / 0.5639 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=156): time 0.01512/0.4435, allocations: 6.999 MB / 0.5707 GB, free: 7.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.4436, allocations: 64.72 kB / 0.5708 GB, free: 7.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/0.4474, allocations: 2.618 MB / 0.5734 GB, free: 4.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-05/0.4475, allocations: 45.7 kB / 0.5734 GB, free: 4.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.4491, allocations: 2.223 MB / 0.5756 GB, free: 2.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005393/0.4496, allocations: 0.6123 MB / 0.5762 GB, free: 1.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.4508, allocations: 0.8481 MB / 0.577 GB, free: 1.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4509, allocations: 301.1 kB / 0.5773 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.453, allocations: 1.308 MB / 0.5786 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004196/0.4572, allocations: 3.711 MB / 0.5822 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00713/0.4644, allocations: 5.463 MB / 0.5875 GB, free: 3.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.574e-05/0.4644, allocations: 24 kB / 0.5875 GB, free: 3.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009132/0.4736, allocations: 5.097 MB / 0.5925 GB, free: 14.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.4736, allocations: 43.94 kB / 0.5926 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.4737, allocations: 84.09 kB / 0.5926 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006639/0.4744, allocations: 277.5 kB / 0.5929 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.4773, allocations: 0.928 MB / 0.5938 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/0.4815, allocations: 3.201 MB / 0.5969 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.4844, allocations: 195.9 kB / 0.5971 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/0.4849, allocations: 252 kB / 0.5974 GB, free: 9.609 MB / 430.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.002838/0.4878, allocations: 1.609 MB / 0.5989 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004556/0.4882, allocations: 234.5 kB / 0.5992 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.4918, allocations: 1.97 MB / 0.6011 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/0.4919, allocations: 23.98 kB / 0.6011 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.4919, allocations: 10.38 kB / 0.6011 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.4919, allocations: 3.984 kB / 0.6011 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5023, allocations: 5.929 MB / 0.6069 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.5023, allocations: 4.281 kB / 0.6069 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/0.5032, allocations: 219.7 kB / 0.6071 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.5036, allocations: 156.7 kB / 0.6073 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.5037, allocations: 39.92 kB / 0.6073 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.5069, allocations: 2.624 MB / 0.6099 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/0.507, allocations: 11.94 kB / 0.6099 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.5119, allocations: 3.128 MB / 0.6129 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/0.5128, allocations: 312.8 kB / 0.6132 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/0.5133, allocations: 31.98 kB / 0.6133 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.5143, allocations: 59.94 kB / 0.6133 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.5145, allocations: 92.77 kB / 0.6134 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5146, allocations: 59.91 kB / 0.6135 GB, free: 8.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003641/0.5183, allocations: 1.664 MB / 0.6151 GB, free: 7.004 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5183, allocations: 0 / 0.6151 GB, free: 7.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003892/0.5222, allocations: 0.6913 MB / 0.6158 GB, free: 6.312 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.005683/0.5279, allocations: 3.77 MB / 0.6195 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005507/0.5334, allocations: 3.148 MB / 0.6225 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5334, allocations: 0 / 0.6225 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.5349, allocations: 0.9633 MB / 0.6235 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.5369, allocations: 391.9 kB / 0.6238 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/0.5813, allocations: 28.77 MB / 0.6519 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004013/0.5853, allocations: 2.589 MB / 0.6545 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003141/0.5884, allocations: 1.259 MB / 0.6557 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/0.5904, allocations: 1.284 MB / 0.6569 GB, free: 8.727 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5904, allocations: 7.938 kB / 0.657 GB, free: 8.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09822/0.6886, allocations: 45.56 MB / 0.7014 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.42/17.11, allocations: 4 kB / 0.7015 GB, free: 11.36 MB / 0.5294 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 & /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: 19.88675805181265] Failed to read output from testmodel.py, exit status != 0: 17.22363238502294 17.409385706 17.109742784 Calling exit ...