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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) 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.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.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 113.4 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 185.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04451/0.04451, allocations: 9.118 MB / 300.3 MB, free: 5.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 75.88 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.09103, allocations: 51.43 MB / 466.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.0093/0.1004, allocations: 8.19 MB / 474.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.1057, allocations: 2.534 MB / 477.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009925/0.1067, allocations: 31.94 kB / 477.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1078, allocations: 353.7 kB / 477.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.1113, allocations: 1.397 MB / 479.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.1117, allocations: 103.8 kB / 479.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.1149, allocations: 2.428 MB / 481.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.1163, allocations: 0.8096 MB / 482.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.1177, allocations: 0.8676 MB / 483.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.1197, allocations: 1.257 MB / 484.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000626/0.1203, allocations: 220 kB / 484.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.122, allocations: 0.8192 MB / 485.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.1231, allocations: 1.208 MB / 486.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.1246, allocations: 1.534 MB / 488.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004855/0.1294, allocations: 4.944 MB / 493.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1294, allocations: 0 / 493.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1295, allocations: 0 / 493.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.578e-05/0.1295, allocations: 0 / 493.4 MB, free: 6.867 MB / 366.1 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.01091/0.1405, allocations: 4.735 MB / 498.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1405, allocations: 8.031 kB / 498.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/0.1471, allocations: 1.748 MB / 499.9 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.1493, allocations: 1.337 MB / 0.4895 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.1494, allocations: 143.9 kB / 0.4896 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.1499, allocations: 188.1 kB / 0.4898 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.1628, allocations: 8.357 MB / 0.498 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.843e-05/0.1629, allocations: 27.72 kB / 0.498 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006063/0.1636, allocations: 91.86 kB / 0.4981 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003436/0.167, allocations: 1.942 MB / 0.5 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1937/0.3607, allocations: 7.531 MB / 0.5073 GB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.3895, allocations: 26.28 MB / 0.533 GB, free: 21.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006059/0.3956, allocations: 2.608 MB / 0.5356 GB, free: 19.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.3968, allocations: 0.863 MB / 0.5364 GB, free: 19.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00545/0.4023, allocations: 5.77 MB / 0.542 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.4023, allocations: 46.31 kB / 0.5421 GB, free: 14.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.276e-06/0.4023, allocations: 0 / 0.5421 GB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01358/0.4159, allocations: 6.95 MB / 0.5489 GB, free: 8.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.416, allocations: 64.72 kB / 0.5489 GB, free: 8.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.4196, allocations: 2.614 MB / 0.5515 GB, free: 5.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/0.4197, allocations: 45.7 kB / 0.5515 GB, free: 5.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.4208, allocations: 2.139 MB / 0.5536 GB, free: 3.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/0.4213, allocations: 0.5839 MB / 0.5542 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.4224, allocations: 0.8306 MB / 0.555 GB, free: 2.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.4224, allocations: 305.1 kB / 0.5553 GB, free: 1.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.4243, allocations: 1.304 MB / 0.5566 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003818/0.4281, allocations: 3.72 MB / 0.5602 GB, free: 11.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006315/0.4345, allocations: 5.448 MB / 0.5655 GB, free: 5.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.428e-05/0.4345, allocations: 24 kB / 0.5655 GB, free: 4.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.00892/0.4435, allocations: 5.109 MB / 0.5705 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/0.4436, allocations: 44 kB / 0.5706 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.4437, allocations: 84 kB / 0.5706 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/0.4444, allocations: 268.7 kB / 0.5709 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/0.4473, allocations: 0.928 MB / 0.5718 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.4512, allocations: 3.194 MB / 0.5749 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.4541, allocations: 203.4 kB / 0.5751 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000569/0.4547, allocations: 252.2 kB / 0.5754 GB, free: 10.8 MB / 414.1 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.002702/0.4574, allocations: 1.617 MB / 0.5769 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/0.4579, allocations: 221.1 kB / 0.5771 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.4614, allocations: 1.969 MB / 0.5791 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.4614, allocations: 3.984 kB / 0.5791 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4615, allocations: 3.984 kB / 0.5791 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.462, allocations: 294.2 kB / 0.5794 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.4623, allocations: 23.98 kB / 0.5794 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/0.4632, allocations: 51.94 kB / 0.5794 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.4633, allocations: 85.19 kB / 0.5795 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003429/0.4668, allocations: 1.885 MB / 0.5814 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003933/0.4707, allocations: 2.905 MB / 0.5842 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001035/0.4718, allocations: 0.7441 MB / 0.5849 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00282/0.4746, allocations: 1.672 MB / 0.5866 GB, free: 15.28 MB / 430.1 MB Notification: Performance of Backend: time 2.7e-07/0.4746, allocations: 3.938 kB / 0.5866 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005705/0.4803, allocations: 2.744 MB / 0.5892 GB, free: 12.55 MB / 430.1 MB Notification: Performance of SimCode: time 0.01163/0.492, allocations: 6.808 MB / 0.5959 GB, free: 5.719 MB / 430.1 MB Notification: Performance of Templates: time 0.05608/0.5481, allocations: 31.84 MB / 0.627 GB, free: 6.02 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile (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 & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1)