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.001123/0.001123, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001307/0.001307, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8822/0.8822, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.02742/0.02742, allocations: 7.124 MB / 266.3 MB, free: 6.32 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 392.4 MB, free: 4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.528e-05, allocations: 2.281 kB / 392.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.006149/0.006165, allocations: 7.207 MB / 399.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.009499, allocations: 2.441 MB / 402 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.009997, allocations: 39.88 kB / 402.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005698/0.01057, allocations: 365.6 kB / 402.4 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.0127, allocations: 1.489 MB / 403.9 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.01289, allocations: 99.73 kB / 404 MB, free: 8.309 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.01433, allocations: 2.468 MB / 406.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.01485, allocations: 0.6887 MB / 407.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/0.01575, allocations: 1.325 MB / 408.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000888/0.01664, allocations: 1.274 MB / 409.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.01681, allocations: 224 kB / 410 MB, free: 2.301 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009223/0.01773, allocations: 0.8112 MB / 410.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005943/0.01832, allocations: 1.239 MB / 412 MB, free: 252 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1457/0.164, allocations: 0.7897 MB / 412.8 MB, free: 17.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006836/0.1709, allocations: 4.92 MB / 417.7 MB, free: 17.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1709, allocations: 0 / 417.7 MB, free: 17.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1709, allocations: 0 / 417.7 MB, free: 17.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001508/0.171, allocations: 4.625 kB / 417.7 MB, free: 17.38 MB / 330.7 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.01399/0.185, allocations: 4.788 MB / 422.5 MB, free: 16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1851, allocations: 14.72 kB / 422.6 MB, free: 16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007075/0.1858, allocations: 0.5386 MB / 423.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/0.1915, allocations: 1.825 MB / 424.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.1936, allocations: 1.29 MB / 426.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.1937, allocations: 146.8 kB / 426.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.194, allocations: 190.8 kB / 426.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008179/0.2022, allocations: 8.336 MB / 434.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.882e-05/0.2023, allocations: 20.97 kB / 434.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.2025, allocations: 95.03 kB / 435 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001644/0.2041, allocations: 1.946 MB / 436.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008055/0.2122, allocations: 7.48 MB / 444.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01913/0.2313, allocations: 24.84 MB / 469.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/0.2355, allocations: 2.194 MB / 471.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009134/0.2364, allocations: 0.8057 MB / 472.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003748/0.2401, allocations: 3.092 MB / 475.3 MB, free: 5.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.2401, allocations: 50.19 kB / 475.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=141): time 3.136e-06/0.2402, allocations: 0 / 475.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=156): time 0.009896/0.25, allocations: 6.971 MB / 482.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2501, allocations: 68.72 kB / 482.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.2529, allocations: 2.753 MB / 485.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.253, allocations: 48.91 kB / 485.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009352/0.2539, allocations: 2.204 MB / 487.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.2543, allocations: 0.6039 MB / 488 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007486/0.255, allocations: 0.8378 MB / 488.9 MB, free: 7.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.647e-05/0.2551, allocations: 301.1 kB / 489.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.2565, allocations: 1.3 MB / 490.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/0.259, allocations: 3.705 MB / 494.2 MB, free: 1.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/0.2635, allocations: 5.43 MB / 499.6 MB, free: 10.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-05/0.2635, allocations: 24 kB / 499.6 MB, free: 10.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.005715/0.2692, allocations: 5.09 MB / 0.4929 GB, free: 5.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.2693, allocations: 40 kB / 0.4929 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/0.2693, allocations: 84 kB / 0.493 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.2697, allocations: 278 kB / 0.4933 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.2713, allocations: 0.9358 MB / 0.4942 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.2738, allocations: 3.069 MB / 0.4972 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.2754, allocations: 195.9 kB / 0.4974 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.2756, allocations: 252 kB / 0.4976 GB, free: 0.7188 MB / 394.7 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.002213/0.2778, allocations: 1.615 MB / 0.4992 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.278, allocations: 230.5 kB / 0.4994 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.2801, allocations: 1.958 MB / 0.5013 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.314e-05/0.2801, allocations: 31.98 kB / 0.5013 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2801, allocations: 4 kB / 0.5014 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2801, allocations: 3.984 kB / 0.5014 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/0.2863, allocations: 5.655 MB / 0.5069 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.2863, allocations: 7.938 kB / 0.5069 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.2868, allocations: 215.7 kB / 0.5071 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002673/0.287, allocations: 173.9 kB / 0.5073 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.2871, allocations: 31.98 kB / 0.5073 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.2891, allocations: 2.486 MB / 0.5097 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.2891, allocations: 11.94 kB / 0.5097 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.2921, allocations: 3.102 MB / 0.5128 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.2924, allocations: 234.5 kB / 0.513 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.2925, allocations: 30.27 kB / 0.513 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.2929, allocations: 63.92 kB / 0.5131 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.293, allocations: 97 kB / 0.5132 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.2931, allocations: 47.98 kB / 0.5132 GB, free: 420 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001535/0.2946, allocations: 1.66 MB / 0.5148 GB, free: 14.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2946, allocations: 3.938 kB / 0.5148 GB, free: 14.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001878/0.2965, allocations: 0.6824 MB / 0.5155 GB, free: 14.05 MB / 426.7 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.00314/0.2996, allocations: 3.741 MB / 0.5192 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003396/0.303, allocations: 3.123 MB / 0.5222 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.303, allocations: 0 / 0.5222 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008709/0.3039, allocations: 0.962 MB / 0.5231 GB, free: 6.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3049, allocations: 387.1 kB / 0.5235 GB, free: 5.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02586/0.3308, allocations: 28.53 MB / 0.5514 GB, free: 5.953 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.3328, allocations: 2.023 MB / 0.5533 GB, free: 3.891 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001667/0.3345, allocations: 1.263 MB / 0.5546 GB, free: 2.621 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.3356, allocations: 1.289 MB / 0.5558 GB, free: 1.332 MB / 458.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3356, allocations: 0 / 0.5558 GB, free: 1.332 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1989/0.5345, allocations: 45.7 MB / 0.6005 GB, free: 147.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/8.966, allocations: 7.547 kB / 0.6005 GB, free: 147.3 MB / 474.7 MB " [Timeout remaining time 651] (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: 10.771607980132103] Failed to read output from testmodel.py, exit status != 0: 9.073831711895764 9.082617214 8.910396835 Calling exit ...