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.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.001327/0.001327, allocations: 107.4 kB / 16.4 MB, free: 6.5 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.001332/0.001333, allocations: 198.7 kB / 19.35 MB, free: 3.73 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.421/1.421, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04658/0.04658, allocations: 9.136 MB / 306.4 MB, free: 3.734 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-master/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: translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.91 kB / 423.4 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.116, allocations: 51.43 MB / 474.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.01766/0.1337, allocations: 14.39 MB / 489.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.1451, allocations: 4.633 MB / 493.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002844/0.148, allocations: 75.81 kB / 493.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004103/0.1521, allocations: 1.607 MB / 495.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.1624, allocations: 2.576 MB / 498.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.1646, allocations: 0.5693 MB / 498.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.1754, allocations: 5.184 MB / 0.492 GB, free: 3.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005663/0.1811, allocations: 2.964 MB / 0.4949 GB, free: 380 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004325/0.1855, allocations: 1.779 MB / 0.4966 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004538/0.1901, allocations: 2.507 MB / 0.4991 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.1917, allocations: 380 kB / 0.4995 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.1951, allocations: 1.194 MB / 0.5006 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002807/0.1979, allocations: 2.287 MB / 0.5029 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004484/0.2024, allocations: 2.815 MB / 0.5056 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2778/0.4803, allocations: 8.794 MB / 0.5142 GB, free: 16.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4803, allocations: 1.188 kB / 0.5142 GB, free: 16.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.4803, allocations: 0 / 0.5142 GB, free: 16.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004522/0.4808, allocations: 1.203 kB / 0.5142 GB, free: 16.09 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: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.02217/0.503, allocations: 6.731 MB / 0.5208 GB, free: 13.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.503, allocations: 12.16 kB / 0.5208 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.5176, allocations: 3.431 MB / 0.5241 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008192/0.5259, allocations: 2.802 MB / 0.5269 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.5263, allocations: 275.2 kB / 0.5271 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/0.5287, allocations: 361.6 kB / 0.5275 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02855/0.5573, allocations: 14.03 MB / 0.5412 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004521/0.5578, allocations: 52.23 kB / 0.5412 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00304/0.5608, allocations: 176.7 kB / 0.5414 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005643/0.5665, allocations: 3.141 MB / 0.5445 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02633/0.5928, allocations: 12.2 MB / 0.5564 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08798/0.6809, allocations: 51.9 MB / 0.6071 GB, free: 7.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.6938, allocations: 5.075 MB / 0.612 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.6975, allocations: 1.801 MB / 0.6138 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02029/0.7179, allocations: 8.019 MB / 0.6216 GB, free: 7.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.57e-05/0.718, allocations: 57.3 kB / 0.6217 GB, free: 7.719 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 7.544e-06/0.718, allocations: 0 / 0.6217 GB, free: 7.719 MB / 462.1 MB Notification: Performance of matching and sorting (n=272): time 0.03979/0.7578, allocations: 14.73 MB / 0.636 GB, free: 9.008 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.758, allocations: 158.5 kB / 0.6362 GB, free: 8.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/0.7694, allocations: 5.385 MB / 0.6415 GB, free: 3.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005296/0.77, allocations: 61.7 kB / 0.6415 GB, free: 3.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003604/0.7736, allocations: 4.261 MB / 0.6457 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001414/0.775, allocations: 1.083 MB / 0.6467 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002795/0.7778, allocations: 1.659 MB / 0.6484 GB, free: 12.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.778, allocations: 305.1 kB / 0.6486 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004224/0.7822, allocations: 2.538 MB / 0.6511 GB, free: 9.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008221/0.7904, allocations: 7.369 MB / 0.6583 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/0.8042, allocations: 10.76 MB / 0.6688 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/0.8044, allocations: 48 kB / 0.6689 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.01888/0.8232, allocations: 9.946 MB / 0.6786 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.8234, allocations: 82.06 kB / 0.6787 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002293/0.8237, allocations: 169.3 kB / 0.6788 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009959/0.8247, allocations: 476.5 kB / 0.6793 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005949/0.8306, allocations: 1.848 MB / 0.6811 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/0.8368, allocations: 5.294 MB / 0.6863 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006808/0.8437, allocations: 422.8 kB / 0.6867 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001725/0.8454, allocations: 496 kB / 0.6871 GB, free: 0.5781 MB / 0.5137 GB 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 (1008): * Single equations (assignments): 998 * 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 {(2,17,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007473/0.8529, allocations: 2.848 MB / 0.6899 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/0.8544, allocations: 492.6 kB / 0.6904 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00686/0.8612, allocations: 2.96 MB / 0.6933 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/0.8613, allocations: 28 kB / 0.6933 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/0.8613, allocations: 8 kB / 0.6933 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.8614, allocations: 15.95 kB / 0.6933 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/0.8857, allocations: 9.086 MB / 0.7022 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/0.8858, allocations: 11.72 kB / 0.7022 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/0.8877, allocations: 379.5 kB / 0.7026 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007609/0.8885, allocations: 245.3 kB / 0.7028 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003317/0.8888, allocations: 56.11 kB / 0.7029 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00502/0.8938, allocations: 4.365 MB / 0.7071 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.8939, allocations: 11.94 kB / 0.7071 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008871/0.9028, allocations: 5.681 MB / 0.7127 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.9042, allocations: 0.5368 MB / 0.7132 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005179/0.9048, allocations: 44 kB / 0.7132 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.9063, allocations: 115.8 kB / 0.7134 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/0.9067, allocations: 160 kB / 0.7135 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/0.9068, allocations: 72 kB / 0.7136 GB, free: 4.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005722/0.9126, allocations: 3.385 MB / 0.7169 GB, free: 1.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9126, allocations: 0 / 0.7169 GB, free: 1.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006386/0.919, allocations: 1.261 MB / 0.7181 GB, free: 280 kB / 0.545 GB 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.0004979/0.9195, allocations: 193.1 kB / 0.7183 GB, free: 80 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2299/1.149, allocations: 6.198 MB / 0.7244 GB, free: 199.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/1.149, allocations: 1.594 kB / 0.7244 GB, free: 199.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003207/1.153, allocations: 1.804 MB / 0.7261 GB, free: 198.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/1.157, allocations: 0.6356 MB / 0.7267 GB, free: 198.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/1.181, allocations: 12.34 MB / 0.7388 GB, free: 193.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005035/1.186, allocations: 4.238 MB / 0.7429 GB, free: 191.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005526/1.191, allocations: 2.706 MB / 0.7456 GB, free: 191.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009168/1.192, allocations: 331.9 kB / 0.7459 GB, free: 191.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.422e-06/1.192, allocations: 0 / 0.7459 GB, free: 191.2 MB / 0.545 GB Notification: Performance of Templates: time 0.07436/1.267, allocations: 40.71 MB / 0.7856 GB, free: 151.2 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile [Timeout 660] (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 & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.093204250559211]