Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.001132/0.001132, 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.001055/0.001055, 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.8807/0.8807, 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.0285/0.0285, allocations: 7.111 MB / 266.3 MB, free: 6.324 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.CraneCrabTo3D,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_CraneCrabTo3D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.CraneCrabTo3D,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_CraneCrabTo3D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 392.4 MB, free: 4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.61e-05, allocations: 2.281 kB / 392.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.009943/0.009959, allocations: 12.51 MB / 404.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006762/0.01672, allocations: 4.434 MB / 409.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.01853, allocations: 87.62 kB / 409.4 MB, free: 2.891 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.02055, allocations: 1.645 MB / 411.1 MB, free: 1.238 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.173/0.1936, allocations: 2.669 MB / 413.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.1951, allocations: 0.6175 MB / 414.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007915/0.203, allocations: 5.615 MB / 420 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005181/0.2082, allocations: 2.964 MB / 422.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008221/0.2164, allocations: 2.703 MB / 425.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005162/0.2216, allocations: 2.689 MB / 428.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.2233, allocations: 385.2 kB / 428.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.2264, allocations: 1.184 MB / 429.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002464/0.2288, allocations: 2.403 MB / 432.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002323/0.2312, allocations: 1.503 MB / 433.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007112/0.2383, allocations: 8.688 MB / 442.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2383, allocations: 0 / 442.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2383, allocations: 0 / 442.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003129/0.2386, allocations: 2.75 kB / 442.5 MB, free: 4.977 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: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.01199/0.2506, allocations: 6.681 MB / 449.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2506, allocations: 8.625 kB / 449.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00151/0.2521, allocations: 0.9533 MB / 450.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00767/0.2598, allocations: 3.602 MB / 453.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/0.2651, allocations: 2.775 MB / 456.5 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.2653, allocations: 270 kB / 456.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/0.2667, allocations: 358.3 kB / 457.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/0.2873, allocations: 14.04 MB / 471.1 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001585/0.2874, allocations: 62.73 kB / 471.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007224/0.2881, allocations: 181.2 kB / 471.4 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003312/0.2914, allocations: 3.128 MB / 474.5 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01876/0.3102, allocations: 12.16 MB / 486.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05435/0.3646, allocations: 49.75 MB / 0.5238 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007406/0.372, allocations: 4.242 MB / 0.528 GB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.3742, allocations: 1.702 MB / 0.5297 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0105/0.3847, allocations: 6.515 MB / 0.536 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.3848, allocations: 51.88 kB / 0.5361 GB, free: 9.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 6.231e-06/0.3848, allocations: 4 kB / 0.5361 GB, free: 9.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=272): time 0.0224/0.4072, allocations: 15 MB / 0.5507 GB, free: 10.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.4072, allocations: 154.5 kB / 0.5509 GB, free: 10.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006078/0.4133, allocations: 5.825 MB / 0.5565 GB, free: 4.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/0.4137, allocations: 61.7 kB / 0.5566 GB, free: 4.914 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.4159, allocations: 4.218 MB / 0.5607 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.417, allocations: 1.067 MB / 0.5618 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002101/0.4191, allocations: 1.62 MB / 0.5634 GB, free: 14.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.4191, allocations: 309.1 kB / 0.5636 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002894/0.422, allocations: 2.546 MB / 0.5661 GB, free: 11.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005351/0.4274, allocations: 7.361 MB / 0.5733 GB, free: 1.434 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1776/0.605, allocations: 10.75 MB / 0.5838 GB, free: 136.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001537/0.6052, allocations: 49.84 kB / 0.5839 GB, free: 136.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1082) (initialization): time 0.01532/0.6205, allocations: 9.94 MB / 0.5936 GB, free: 133.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.667e-05/0.6206, allocations: 77.91 kB / 0.5937 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/0.6208, allocations: 169.8 kB / 0.5938 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008463/0.6217, allocations: 489.3 kB / 0.5943 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/0.6258, allocations: 1.851 MB / 0.5961 GB, free: 133.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.6293, allocations: 5.069 MB / 0.601 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004273/0.6336, allocations: 495.7 kB / 0.6015 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/0.6346, allocations: 497.2 kB / 0.602 GB, free: 129.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 772 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1004): * Single equations (assignments): 994 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,16,88.9%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003945/0.6386, allocations: 2.859 MB / 0.6048 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006645/0.6392, allocations: 481.8 kB / 0.6052 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.6421, allocations: 2.961 MB / 0.6081 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.6422, allocations: 31.75 kB / 0.6082 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6422, allocations: 11.31 kB / 0.6082 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.6422, allocations: 11.39 kB / 0.6082 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.6525, allocations: 8.67 MB / 0.6166 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.6525, allocations: 8 kB / 0.6167 GB, free: 122.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/0.6534, allocations: 380.9 kB / 0.617 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/0.6538, allocations: 245.2 kB / 0.6173 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.6539, allocations: 51.75 kB / 0.6173 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.656, allocations: 4.14 MB / 0.6213 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.656, allocations: 11.94 kB / 0.6214 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004253/0.6603, allocations: 5.654 MB / 0.6269 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009318/0.6612, allocations: 492.7 kB / 0.6273 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.6615, allocations: 47.52 kB / 0.6274 GB, free: 112.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008892/0.6624, allocations: 149.4 kB / 0.6275 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.6626, allocations: 160.8 kB / 0.6277 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.6627, allocations: 79.94 kB / 0.6278 GB, free: 112.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003492/0.6662, allocations: 3.497 MB / 0.6312 GB, free: 109.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6662, allocations: 0 / 0.6312 GB, free: 109.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004754/0.6709, allocations: 1.294 MB / 0.6324 GB, free: 107.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.v) * 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 (207): * Single equations (assignments): 199 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,15,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004446/0.6754, allocations: 6.343 MB / 0.6386 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006427/0.6818, allocations: 5.975 MB / 0.6445 GB, free: 95.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6818, allocations: 0 / 0.6445 GB, free: 95.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.6834, allocations: 1.702 MB / 0.6461 GB, free: 93.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.6862, allocations: 0.647 MB / 0.6468 GB, free: 93.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05683/0.743, allocations: 58.88 MB / 0.7043 GB, free: 27.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003063/0.7461, allocations: 3.728 MB / 0.7079 GB, free: 23.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003551/0.7497, allocations: 2.722 MB / 0.7106 GB, free: 20.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/0.7518, allocations: 2.617 MB / 0.7131 GB, free: 17.98 MB / 474.7 MB Notification: Performance of SimCode: time 1.674e-06/0.7518, allocations: 3.828 kB / 0.7131 GB, free: 17.98 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.274/1.026, allocations: 86.61 MB / 0.7977 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.38, allocations: 4.625 kB / 0.7977 GB, free: 153.2 MB / 0.4948 GB " [Timeout remaining time 646] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_Examples_CraneCrabTo3D_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_Examples_CraneCrabTo3D.fmu > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.24046794231981] Failed to read output from testmodel.py, exit status != 0: 13.51554536819458 13.523969381 13.283843561 Calling exit ...