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.001563/0.001563, allocations: 112.2 kB / 16.42 MB, free: 6.453 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.001219/0.001219, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04632/0.04632, allocations: 9.126 MB / 300.3 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.89 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08247/0.08387, allocations: 51.45 MB / 466.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.008783/0.09268, allocations: 8.179 MB / 474.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004674/0.09739, allocations: 2.527 MB / 477.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.09834, allocations: 31.94 kB / 477.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.09928, allocations: 357.7 kB / 477.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.1025, allocations: 1.432 MB / 479.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.1029, allocations: 103.8 kB / 479.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002786/0.1057, allocations: 2.429 MB / 481.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.107, allocations: 0.8173 MB / 482.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.1083, allocations: 0.8676 MB / 483.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/0.1101, allocations: 1.261 MB / 484.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005669/0.1107, allocations: 220 kB / 485 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.1123, allocations: 0.8113 MB / 485.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.1136, allocations: 1.204 MB / 487 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.1157, allocations: 1.538 MB / 488.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005276/0.121, allocations: 4.972 MB / 493.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.121, allocations: 0 / 493.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.121, allocations: 0 / 493.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001364/0.1211, allocations: 0 / 493.5 MB, free: 6.801 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.01189/0.133, allocations: 4.815 MB / 498.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1331, allocations: 8.031 kB / 498.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006556/0.1396, allocations: 1.773 MB / 0.4884 GB, free: 132 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.1422, allocations: 1.334 MB / 0.4897 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.1423, allocations: 143.8 kB / 0.4898 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006358/0.1429, allocations: 192.2 kB / 0.49 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.1569, allocations: 8.349 MB / 0.4981 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.157, allocations: 23.81 kB / 0.4982 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000642/0.1577, allocations: 99.8 kB / 0.4983 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003087/0.1608, allocations: 1.938 MB / 0.5002 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2247/0.3855, allocations: 7.535 MB / 0.5075 GB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03479/0.4203, allocations: 26.34 MB / 0.5332 GB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006429/0.4268, allocations: 2.606 MB / 0.5358 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.4281, allocations: 0.8671 MB / 0.5366 GB, free: 19.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006134/0.4342, allocations: 5.777 MB / 0.5423 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.4343, allocations: 43.06 kB / 0.5423 GB, free: 14.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 5.15e-06/0.4343, allocations: 3.656 kB / 0.5423 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.0136/0.4479, allocations: 7.001 MB / 0.5492 GB, free: 8.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.448, allocations: 64.72 kB / 0.5492 GB, free: 8.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003407/0.4514, allocations: 2.622 MB / 0.5518 GB, free: 5.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.4515, allocations: 45.7 kB / 0.5518 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009052/0.4524, allocations: 2.229 MB / 0.554 GB, free: 3.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004289/0.4529, allocations: 0.6116 MB / 0.5546 GB, free: 2.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009818/0.4538, allocations: 0.838 MB / 0.5554 GB, free: 2.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.4539, allocations: 301.1 kB / 0.5557 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.4557, allocations: 1.308 MB / 0.557 GB, free: 472 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.4595, allocations: 3.719 MB / 0.5606 GB, free: 11.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006391/0.4659, allocations: 5.443 MB / 0.5659 GB, free: 4.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.125e-05/0.466, allocations: 24 kB / 0.5659 GB, free: 4.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009002/0.4751, allocations: 5.124 MB / 0.571 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.4752, allocations: 46.97 kB / 0.571 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.4753, allocations: 84 kB / 0.5711 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.476, allocations: 265.7 kB / 0.5713 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/0.4788, allocations: 0.9297 MB / 0.5722 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.4828, allocations: 3.197 MB / 0.5754 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.4856, allocations: 199.8 kB / 0.5756 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/0.4861, allocations: 252 kB / 0.5758 GB, free: 10.69 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.002683/0.4888, allocations: 1.617 MB / 0.5774 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/0.4892, allocations: 234.4 kB / 0.5776 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.4928, allocations: 1.972 MB / 0.5795 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.4928, allocations: 7.969 kB / 0.5795 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4928, allocations: 0 / 0.5795 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.4934, allocations: 303.5 kB / 0.5798 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003596/0.4937, allocations: 20 kB / 0.5798 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008329/0.4946, allocations: 51.94 kB / 0.5799 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.4948, allocations: 81.25 kB / 0.58 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003444/0.4982, allocations: 1.898 MB / 0.5818 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003985/0.5022, allocations: 2.912 MB / 0.5847 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00103/0.5033, allocations: 0.7442 MB / 0.5854 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002807/0.5061, allocations: 1.668 MB / 0.587 GB, free: 15.13 MB / 430.1 MB Notification: Performance of Backend: time 5.31e-07/0.5061, allocations: 0 / 0.587 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.5116, allocations: 2.758 MB / 0.5897 GB, free: 12.4 MB / 430.1 MB Notification: Performance of SimCode: time 0.01154/0.5232, allocations: 6.914 MB / 0.5965 GB, free: 5.445 MB / 430.1 MB Notification: Performance of Templates: time 0.0584/0.5816, allocations: 31.83 MB / 0.6275 GB, free: 5.754 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)