Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009116/0.009116, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001455/0.001455, allocations: 197.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2815/0.2815, allocations: 38 MB / 307.9 MB, free: 10.12 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.83 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2837, allocations: 56.46 MB / 489.4 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01173/0.2955, allocations: 12.04 MB / 0.4897 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.3057, allocations: 4.5 MB / 0.4941 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004761/0.3105, allocations: 85.16 kB / 0.4942 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006363/0.3169, allocations: 3.002 MB / 0.4971 GB, free: 7.102 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.006495/0.3235, allocations: 1.959 MB / 0.499 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002426/0.3259, allocations: 0.8519 MB / 0.4999 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006249/0.3322, allocations: 4.093 MB / 0.5039 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003694/0.3359, allocations: 3.306 MB / 0.5071 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.3387, allocations: 1.762 MB / 0.5088 GB, free: 500 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.3417, allocations: 2.164 MB / 0.5109 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000706/0.3424, allocations: 311.8 kB / 0.5112 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.345, allocations: 1.186 MB / 0.5124 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0021/0.3471, allocations: 1.961 MB / 0.5143 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002847/0.3499, allocations: 2.3 MB / 0.5166 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00882/0.3588, allocations: 7.174 MB / 0.5236 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3588, allocations: 4 kB / 0.5236 GB, free: 4.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3588, allocations: 0 / 0.5236 GB, free: 4.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001518/0.359, allocations: 0 / 0.5236 GB, free: 4.707 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01078/0.3698, allocations: 5.33 MB / 0.5288 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.3698, allocations: 15.89 kB / 0.5288 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/0.3762, allocations: 1.87 MB / 0.5306 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00546/0.3816, allocations: 2.609 MB / 0.5332 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.3819, allocations: 253.9 kB / 0.5334 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007846/0.3827, allocations: 311.8 kB / 0.5337 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.4029, allocations: 11.19 MB / 0.5446 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.4031, allocations: 43.62 kB / 0.5447 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004426/0.4035, allocations: 151.8 kB / 0.5448 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004032/0.4076, allocations: 2.295 MB / 0.5471 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.4279, allocations: 9.874 MB / 0.5567 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05566/0.4837, allocations: 44.11 MB / 0.5998 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/0.4976, allocations: 5.82 MB / 0.6055 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004025/0.5016, allocations: 3.229 MB / 0.6086 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/0.5146, allocations: 9.325 MB / 0.6177 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01043/0.525, allocations: 3.373 MB / 0.621 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=211): time 4.599e-06/0.5251, allocations: 4 kB / 0.621 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=282): time 0.3652/0.8902, allocations: 32.6 MB / 0.6529 GB, free: 123.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.8904, allocations: 166.6 kB / 0.653 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/0.8963, allocations: 4.208 MB / 0.6571 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007769/0.8971, allocations: 66.58 kB / 0.6572 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002523/0.8996, allocations: 3.244 MB / 0.6604 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.9008, allocations: 1.036 MB / 0.6614 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/0.9027, allocations: 1.327 MB / 0.6627 GB, free: 118 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.475e-05/0.9028, allocations: 314.4 kB / 0.663 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005067/0.9079, allocations: 3.298 MB / 0.6662 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00639/0.9143, allocations: 6.902 MB / 0.6729 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.9259, allocations: 11.01 MB / 0.6837 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/0.926, allocations: 34.69 kB / 0.6837 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02102/0.9471, allocations: 12.41 MB / 0.6958 GB, free: 92.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.001e-05/0.9472, allocations: 60 kB / 0.6959 GB, free: 92.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.9473, allocations: 132.1 kB / 0.696 GB, free: 92.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006298/0.9536, allocations: 2.627 MB / 0.6986 GB, free: 89.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005069/0.9587, allocations: 1.474 MB / 0.7 GB, free: 88.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/0.9826, allocations: 23.4 MB / 0.7229 GB, free: 64.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006391/0.9891, allocations: 434.5 kB / 0.7233 GB, free: 63.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007387/0.9898, allocations: 387.9 kB / 0.7236 GB, free: 63.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.00337/0.9932, allocations: 2.222 MB / 0.7258 GB, free: 61.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000695/0.9939, allocations: 406.8 kB / 0.7262 GB, free: 60.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.006, allocations: 7.816 MB / 0.7338 GB, free: 53.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.803e-05/1.006, allocations: 36 kB / 0.7339 GB, free: 53.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.109e-05/1.006, allocations: 8 kB / 0.7339 GB, free: 53.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/1.006, allocations: 11.95 kB / 0.7339 GB, free: 53.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/1.03, allocations: 14.29 MB / 0.7478 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.03, allocations: 4 kB / 0.7478 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/1.032, allocations: 379.4 kB / 0.7482 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/1.037, allocations: 2.308 MB / 0.7505 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/1.037, allocations: 47.98 kB / 0.7505 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/1.06, allocations: 23.24 MB / 0.7732 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.06, allocations: 7.938 kB / 0.7732 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/1.073, allocations: 7.961 MB / 0.781 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00334/1.077, allocations: 0.9721 MB / 0.7819 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000852/1.077, allocations: 44 kB / 0.782 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.08, allocations: 215.7 kB / 0.7822 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/1.08, allocations: 189.6 kB / 0.7824 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.081, allocations: 79.98 kB / 0.7824 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003434/1.084, allocations: 2.634 MB / 0.785 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/1.084, allocations: 1.781 kB / 0.785 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007714/1.092, allocations: 1.359 MB / 0.7863 GB, free: 14.64 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/1.094, allocations: 0.4904 MB / 0.7868 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01531/1.109, allocations: 8.703 MB / 0.7953 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.109, allocations: 0 / 0.7953 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006723/1.116, allocations: 3.959 MB / 0.7992 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/1.119, allocations: 499.1 kB / 0.7997 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.139, allocations: 11.79 MB / 0.8112 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/1.144, allocations: 3.578 MB / 0.8147 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005258/1.149, allocations: 2.105 MB / 0.8167 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.15, allocations: 271.3 kB / 0.817 GB, free: 15.12 MB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/1.15, allocations: 0 / 0.817 GB, free: 15.12 MB / 0.545 GB Notification: Performance of Templates: time 0.4008/1.551, allocations: 61.36 MB / 0.8769 GB, free: 164.3 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)