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.000842/0.000842, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0009623/0.0009623, allocations: 166.3 kB / 22.46 MB, free: 2.098 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.9008/0.9008, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.02681/0.02681, allocations: 7.123 MB / 266.3 MB, free: 6.309 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 2.565e-06/2.565e-06, allocations: 4 kB / 392.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.124e-05, allocations: 5.375 kB / 392.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.006175/0.006197, allocations: 7.207 MB / 399.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004178/0.01037, allocations: 2.445 MB / 402 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008704/0.01124, allocations: 39.88 kB / 402.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.01209, allocations: 361.6 kB / 402.4 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.01482, allocations: 1.489 MB / 403.9 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.01534, allocations: 95.73 kB / 404 MB, free: 8.293 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.01775, allocations: 2.469 MB / 406.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008831/0.01863, allocations: 0.6887 MB / 407.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.02011, allocations: 1.325 MB / 408.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.02152, allocations: 1.282 MB / 409.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.02185, allocations: 220 kB / 410 MB, free: 2.281 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.02294, allocations: 0.8035 MB / 410.8 MB, free: 1.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.02397, allocations: 1.246 MB / 412 MB, free: 232 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1594/0.1833, allocations: 0.7805 MB / 412.8 MB, free: 17.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006279/0.1896, allocations: 4.922 MB / 417.7 MB, free: 17.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1896, allocations: 0 / 417.7 MB, free: 17.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1896, allocations: 1.438 kB / 417.7 MB, free: 17.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001881/0.1898, allocations: 0 / 417.7 MB, free: 17.41 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.01307/0.2029, allocations: 4.797 MB / 422.5 MB, free: 16.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.2029, allocations: 10.19 kB / 422.6 MB, free: 16.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00146/0.2044, allocations: 0.5417 MB / 423.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.2089, allocations: 1.832 MB / 424.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/0.2122, allocations: 1.281 MB / 426.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2124, allocations: 146.9 kB / 426.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006766/0.213, allocations: 190.4 kB / 426.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.226, allocations: 8.334 MB / 434.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.663e-05/0.2261, allocations: 22.62 kB / 434.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003661/0.2264, allocations: 95.19 kB / 435 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001932/0.2284, allocations: 1.944 MB / 436.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/0.2391, allocations: 7.488 MB / 444.4 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02934/0.2685, allocations: 24.84 MB / 469.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004872/0.2733, allocations: 2.19 MB / 471.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.2744, allocations: 0.8109 MB / 472.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004852/0.2792, allocations: 3.08 MB / 475.3 MB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.2793, allocations: 51.31 kB / 475.4 MB, free: 5.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=141): time 4.939e-06/0.2793, allocations: 0 / 475.4 MB, free: 5.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=156): time 0.01124/0.2905, allocations: 6.975 MB / 482.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.2905, allocations: 68.72 kB / 482.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.294, allocations: 2.753 MB / 485.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.2942, allocations: 48.83 kB / 485.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.2953, allocations: 2.205 MB / 487.4 MB, free: 9.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/0.2958, allocations: 0.6052 MB / 488 MB, free: 8.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009262/0.2967, allocations: 0.8264 MB / 488.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.2968, allocations: 301.1 kB / 489.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.2984, allocations: 1.308 MB / 490.5 MB, free: 6.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/0.3012, allocations: 3.709 MB / 494.2 MB, free: 1.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004901/0.3061, allocations: 5.429 MB / 499.6 MB, free: 10.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-05/0.3062, allocations: 24 kB / 499.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.007215/0.3134, allocations: 5.093 MB / 0.4929 GB, free: 5.641 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.3134, allocations: 40 kB / 0.4929 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.762e-05/0.3135, allocations: 84 kB / 0.493 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/0.314, allocations: 281.9 kB / 0.4933 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.3162, allocations: 0.928 MB / 0.4942 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.3189, allocations: 3.07 MB / 0.4972 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.3211, allocations: 207.9 kB / 0.4974 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/0.3215, allocations: 248 kB / 0.4976 GB, free: 0.6875 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.002636/0.3241, allocations: 1.609 MB / 0.4992 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.3245, allocations: 234.5 kB / 0.4994 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.3268, allocations: 1.952 MB / 0.5013 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/0.3269, allocations: 23.98 kB / 0.5013 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3269, allocations: 4 kB / 0.5014 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3269, allocations: 7.969 kB / 0.5014 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008358/0.3353, allocations: 5.657 MB / 0.5069 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.3353, allocations: 11.94 kB / 0.5069 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.3358, allocations: 220.3 kB / 0.5071 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.3361, allocations: 160.7 kB / 0.5073 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.3362, allocations: 39.92 kB / 0.5073 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.3384, allocations: 2.48 MB / 0.5097 GB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3384, allocations: 7.938 kB / 0.5097 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/0.3416, allocations: 3.112 MB / 0.5128 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006553/0.3423, allocations: 230.5 kB / 0.513 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.3425, allocations: 31.98 kB / 0.513 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.3429, allocations: 59.94 kB / 0.5131 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.3431, allocations: 101 kB / 0.5132 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.644e-05/0.3431, allocations: 51.12 kB / 0.5132 GB, free: 392 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002025/0.3452, allocations: 1.667 MB / 0.5148 GB, free: 14.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3452, allocations: 7.938 kB / 0.5149 GB, free: 14.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002885/0.348, allocations: 0.6679 MB / 0.5155 GB, free: 14.03 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.003778/0.3518, allocations: 3.734 MB / 0.5192 GB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00434/0.3562, allocations: 3.128 MB / 0.5222 GB, free: 7.074 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.485e-06/0.3562, allocations: 0 / 0.5222 GB, free: 7.074 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.3575, allocations: 0.9583 MB / 0.5231 GB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.359, allocations: 390.3 kB / 0.5235 GB, free: 5.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03544/0.3944, allocations: 28.53 MB / 0.5514 GB, free: 5.926 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.3969, allocations: 2.023 MB / 0.5534 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001993/0.3989, allocations: 1.267 MB / 0.5546 GB, free: 2.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/0.4005, allocations: 1.289 MB / 0.5558 GB, free: 1.301 MB / 458.7 MB Notification: Performance of SimCode: time 1.714e-06/0.4005, allocations: 0 / 0.5558 GB, free: 1.301 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2186/0.6191, allocations: 45.69 MB / 0.6005 GB, free: 147.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.022/9.641, allocations: 13.2 kB / 0.6005 GB, free: 147.2 MB / 474.7 MB " [Timeout remaining time 650] (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: 11.425667434930801] Failed to read output from testmodel.py, exit status != 0: 9.752815142273903 9.761965159 9.570386546 Calling exit ...