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.001389/0.001389, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.001571/0.001571, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.05007/0.05007, allocations: 7.186 MB / 266.7 MB, free: 6.09 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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: 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 1.763e-06/1.763e-06, allocations: 0 / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.544e-05/3.72e-05, allocations: 6.312 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.01251/0.01255, allocations: 12.58 MB / 350.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01349/0.02604, allocations: 4.444 MB / 355.2 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003142/0.02918, allocations: 87.62 kB / 355.2 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004771/0.03395, allocations: 1.669 MB / 356.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008583/0.04253, allocations: 2.695 MB / 359.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.04456, allocations: 0.6276 MB / 360.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.05474, allocations: 5.633 MB / 365.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006135/0.06088, allocations: 3.056 MB / 368.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006602/0.06748, allocations: 2.708 MB / 371.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005547/0.07303, allocations: 2.696 MB / 374.3 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001589/0.07462, allocations: 387.9 kB / 374.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.07796, allocations: 1.194 MB / 375.9 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003575/0.08153, allocations: 2.403 MB / 378.3 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003443/0.08497, allocations: 1.499 MB / 379.8 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.09955, allocations: 8.705 MB / 388.5 MB, free: 7.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.09957, allocations: 0 / 388.5 MB, free: 7.984 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.201e-06/0.09957, allocations: 3.984 kB / 388.5 MB, free: 7.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.00048/0.1001, allocations: 4 kB / 388.5 MB, free: 7.977 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2081 * Number of variables: 2081 Notification: Performance of Generate backend data structure: time 0.02165/0.1217, allocations: 6.664 MB / 395.2 MB, free: 1.246 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1218, allocations: 8.625 kB / 395.2 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.138, allocations: 4.334 MB / 399.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008374/0.1464, allocations: 2.73 MB / 402.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004382/0.1468, allocations: 275.1 kB / 402.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.1487, allocations: 367.7 kB / 402.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2054/0.3542, allocations: 14.05 MB / 416.9 MB, free: 70.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/0.3544, allocations: 51.3 kB / 417 MB, free: 70.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006016/0.355, allocations: 177.4 kB / 417.2 MB, free: 70.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004757/0.3597, allocations: 3.136 MB / 420.3 MB, free: 69.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/0.3819, allocations: 12.21 MB / 432.5 MB, free: 62.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06428/0.4461, allocations: 48.5 MB / 481 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.4565, allocations: 4.186 MB / 485.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/0.4593, allocations: 1.708 MB / 486.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0149/0.4742, allocations: 6.435 MB / 493.3 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.4743, allocations: 55.81 kB / 493.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=242): time 6.502e-06/0.4743, allocations: 0 / 493.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of matching and sorting (n=272): time 0.04202/0.5163, allocations: 15.01 MB / 0.4965 GB, free: 2.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.5165, allocations: 158.5 kB / 0.4966 GB, free: 1.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/0.5274, allocations: 4.944 MB / 0.5015 GB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005204/0.5279, allocations: 61.7 kB / 0.5015 GB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004439/0.5324, allocations: 4.273 MB / 0.5057 GB, free: 8.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/0.5342, allocations: 1.066 MB / 0.5067 GB, free: 7.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004824/0.539, allocations: 1.64 MB / 0.5083 GB, free: 5.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5392, allocations: 301.1 kB / 0.5086 GB, free: 5.512 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005719/0.5449, allocations: 2.569 MB / 0.5111 GB, free: 2.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/0.5563, allocations: 7.393 MB / 0.5184 GB, free: 9.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01878/0.5751, allocations: 10.78 MB / 0.5289 GB, free: 12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000234/0.5753, allocations: 48 kB / 0.5289 GB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02528/0.6006, allocations: 10.38 MB / 0.5391 GB, free: 1.562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000305/0.6009, allocations: 80 kB / 0.5391 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003826/0.6013, allocations: 168.9 kB / 0.5393 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.603, allocations: 0.5342 MB / 0.5398 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007193/0.6102, allocations: 1.864 MB / 0.5416 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007588/0.6178, allocations: 5.03 MB / 0.5466 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006699/0.6245, allocations: 499.4 kB / 0.547 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/0.6266, allocations: 496 kB / 0.5475 GB, free: 8.699 MB / 410.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 (1014): * Single equations (assignments): 1004 * 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.007923/0.6345, allocations: 2.867 MB / 0.5503 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001863/0.6364, allocations: 497.1 kB / 0.5508 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007203/0.6436, allocations: 2.899 MB / 0.5536 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.346e-05/0.6437, allocations: 28 kB / 0.5536 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/0.6437, allocations: 4 kB / 0.5536 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/0.6437, allocations: 19.95 kB / 0.5537 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1876/0.8314, allocations: 7.48 MB / 0.561 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.8314, allocations: 15.53 kB / 0.561 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.8331, allocations: 382.4 kB / 0.5613 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.8342, allocations: 317.6 kB / 0.5616 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.8344, allocations: 50.58 kB / 0.5617 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004059/0.8384, allocations: 4.123 MB / 0.5657 GB, free: 128.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.8384, allocations: 7.875 kB / 0.5657 GB, free: 128.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/0.8454, allocations: 5.66 MB / 0.5713 GB, free: 126.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.8467, allocations: 402 kB / 0.5716 GB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004704/0.8471, allocations: 47.94 kB / 0.5717 GB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/0.8487, allocations: 150.1 kB / 0.5718 GB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.8491, allocations: 180.2 kB / 0.572 GB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.8492, allocations: 76.16 kB / 0.5721 GB, free: 126.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004253/0.8535, allocations: 2.852 MB / 0.5749 GB, free: 125.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8535, allocations: 0 / 0.5749 GB, free: 125.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007869/0.8613, allocations: 1.288 MB / 0.5761 GB, free: 125.3 MB / 410.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.0006126/0.8619, allocations: 210.9 kB / 0.5763 GB, free: 125.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008488/0.8704, allocations: 5.987 MB / 0.5822 GB, free: 123.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.8704, allocations: 0 / 0.5822 GB, free: 123.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002102/0.8725, allocations: 1.699 MB / 0.5838 GB, free: 121.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.8756, allocations: 0.5229 MB / 0.5843 GB, free: 121.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/0.8957, allocations: 12.4 MB / 0.5964 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004391/0.9001, allocations: 3.729 MB / 0.6001 GB, free: 107 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005406/0.9055, allocations: 2.626 MB / 0.6026 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/0.9064, allocations: 312.4 kB / 0.6029 GB, free: 104.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.903e-06/0.9064, allocations: 0 / 0.6029 GB, free: 104.1 MB / 410.7 MB Notification: Performance of Templates: time 0.0638/0.9702, allocations: 33.29 MB / 0.6354 GB, free: 71.47 MB / 410.7 MB " [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.146250327001326]