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.00165/0.00165, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001482/0.001482, allocations: 212.2 kB / 23.02 MB, free: 4.957 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.06491/0.06491, allocations: 9.234 MB / 322.5 MB, free: 9.844 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.002039/0.002039, allocations: 59.91 kB / 448.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.1002, allocations: 55.48 MB / 0.4921 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.009576/0.1098, allocations: 7.166 MB / 0.4991 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005003/0.1148, allocations: 2.437 MB / 0.5015 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000789/0.1156, allocations: 35.94 kB / 0.5015 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008635/0.1164, allocations: 365.6 kB / 0.5019 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.1196, allocations: 1.44 MB / 0.5033 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1199, allocations: 95.88 kB / 0.5034 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.1228, allocations: 2.414 MB / 0.5057 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009554/0.1238, allocations: 0.685 MB / 0.5064 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.125, allocations: 0.8832 MB / 0.5073 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.1268, allocations: 1.374 MB / 0.5086 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004237/0.1272, allocations: 220 kB / 0.5088 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.1287, allocations: 0.7528 MB / 0.5095 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.1299, allocations: 1.211 MB / 0.5107 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.1312, allocations: 1.055 MB / 0.5118 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.202/0.3332, allocations: 4.953 MB / 0.5166 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3332, allocations: 0 / 0.5166 GB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3332, allocations: 0.5625 kB / 0.5166 GB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001235/0.3333, allocations: 0 / 0.5166 GB, free: 12.32 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.01359/0.3469, allocations: 4.775 MB / 0.5213 GB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3469, allocations: 11.56 kB / 0.5213 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.506e-05/0.347, allocations: 69.67 kB / 0.5213 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001172/0.3482, allocations: 0.544 MB / 0.5219 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007007/0.3552, allocations: 1.773 MB / 0.5236 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.3584, allocations: 1.284 MB / 0.5249 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.3585, allocations: 148.1 kB / 0.525 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/0.3593, allocations: 193 kB / 0.5252 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.3739, allocations: 8.356 MB / 0.5333 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.086e-05/0.3739, allocations: 25.48 kB / 0.5334 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003728/0.3743, allocations: 91.19 kB / 0.5334 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00314/0.3775, allocations: 1.941 MB / 0.5353 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.3916, allocations: 7.545 MB / 0.5427 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0371/0.4287, allocations: 24.81 MB / 0.5669 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00733/0.4361, allocations: 2.077 MB / 0.569 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.4377, allocations: 0.8212 MB / 0.5698 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006765/0.4445, allocations: 3.059 MB / 0.5728 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.4445, allocations: 47.56 kB / 0.5728 GB, free: 9.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 4.358e-06/0.4446, allocations: 0 / 0.5728 GB, free: 9.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01691/0.4615, allocations: 6.849 MB / 0.5795 GB, free: 2.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.4615, allocations: 68.28 kB / 0.5796 GB, free: 2.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.4656, allocations: 2.621 MB / 0.5821 GB, free: 228 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.4657, allocations: 47.3 kB / 0.5822 GB, free: 176 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001856/0.4676, allocations: 2.233 MB / 0.5843 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006711/0.4683, allocations: 0.6102 MB / 0.5849 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.4695, allocations: 0.8409 MB / 0.5858 GB, free: 12.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4696, allocations: 305.1 kB / 0.5861 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.472, allocations: 1.312 MB / 0.5873 GB, free: 10.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/0.4763, allocations: 3.711 MB / 0.591 GB, free: 6.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007487/0.4838, allocations: 5.449 MB / 0.5963 GB, free: 15.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-05/0.4839, allocations: 28 kB / 0.5963 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01017/0.4941, allocations: 5.1 MB / 0.6013 GB, free: 10.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.4941, allocations: 45.73 kB / 0.6013 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.953e-05/0.4942, allocations: 84.08 kB / 0.6014 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007166/0.495, allocations: 276.6 kB / 0.6017 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002969/0.4979, allocations: 0.9323 MB / 0.6026 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00427/0.5022, allocations: 3.084 MB / 0.6056 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.5051, allocations: 187.9 kB / 0.6058 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004125/0.5055, allocations: 260 kB / 0.606 GB, free: 5.805 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.002697/0.5082, allocations: 1.61 MB / 0.6076 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.5086, allocations: 238.4 kB / 0.6078 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003612/0.5122, allocations: 1.96 MB / 0.6097 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/0.5123, allocations: 23.98 kB / 0.6098 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5123, allocations: 4 kB / 0.6098 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.5123, allocations: 7.969 kB / 0.6098 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.5227, allocations: 5.658 MB / 0.6153 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.5227, allocations: 4.875 kB / 0.6153 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/0.5237, allocations: 219.6 kB / 0.6155 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005111/0.5242, allocations: 172.6 kB / 0.6157 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/0.5243, allocations: 32 kB / 0.6157 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003297/0.5276, allocations: 2.483 MB / 0.6181 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.5276, allocations: 11.92 kB / 0.6181 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/0.5327, allocations: 3.136 MB / 0.6212 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.5334, allocations: 234.5 kB / 0.6214 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.5337, allocations: 28 kB / 0.6215 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.5345, allocations: 63.92 kB / 0.6215 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.5347, allocations: 96.72 kB / 0.6216 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.5348, allocations: 47.98 kB / 0.6217 GB, free: 5.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003088/0.5379, allocations: 1.672 MB / 0.6233 GB, free: 3.781 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5379, allocations: 0 / 0.6233 GB, free: 3.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003669/0.5416, allocations: 0.677 MB / 0.6239 GB, free: 3.105 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.005488/0.547, allocations: 3.78 MB / 0.6276 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00635/0.5534, allocations: 3.138 MB / 0.6307 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.5534, allocations: 4 kB / 0.6307 GB, free: 12.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.5551, allocations: 0.9582 MB / 0.6316 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.5576, allocations: 398.2 kB / 0.632 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05007/0.6077, allocations: 28.82 MB / 0.6602 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003403/0.6111, allocations: 2.026 MB / 0.6621 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003369/0.6144, allocations: 1.262 MB / 0.6634 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002131/0.6166, allocations: 1.284 MB / 0.6646 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.275e-06/0.6166, allocations: 0 / 0.6646 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.7229, allocations: 47.29 MB / 0.7108 GB, free: 7.344 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.79/19.52, allocations: 8.047 kB / 0.7108 GB, free: 7.336 MB / 0.545 GB " [Timeout remaining time 640] (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: 22.588207805994898] Failed to read output from testmodel.py, exit status != 0: 19.7150713900337 19.925955989 19.588723676 Calling exit ...