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.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001768/0.001768, allocations: 199.5 kB / 16.14 MB, free: 6.656 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.625/1.625, allocations: 205.1 MB / 222 MB, free: 4.734 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.3408/0.3408, allocations: 37.98 MB / 307.3 MB, free: 10.02 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.001264/0.001263, allocations: 62.42 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1073, allocations: 56.47 MB / 431 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3007/0.408, allocations: 46.97 MB / 478 MB, free: 28.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03126/0.4394, allocations: 10.27 MB / 488.3 MB, free: 21.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01646/0.4559, allocations: 214.6 kB / 488.5 MB, free: 21.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0077/0.4637, allocations: 2.979 MB / 491.4 MB, free: 20.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007094/0.4708, allocations: 1.829 MB / 493.3 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.4739, allocations: 0.7863 MB / 494.1 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008263/0.4822, allocations: 5.895 MB / 499.9 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005272/0.4875, allocations: 3.261 MB / 0.4914 GB, free: 16.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/0.4912, allocations: 1.637 MB / 0.493 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004705/0.496, allocations: 2.331 MB / 0.4953 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.4971, allocations: 229.1 kB / 0.4955 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.5004, allocations: 1.178 MB / 0.4967 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003173/0.5036, allocations: 1.912 MB / 0.4985 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006519/0.5102, allocations: 2.228 MB / 0.5007 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.5227, allocations: 6.855 MB / 0.5074 GB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.5228, allocations: 4 kB / 0.5074 GB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.5228, allocations: 0 / 0.5074 GB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005043/0.5233, allocations: 1.844 kB / 0.5074 GB, free: 9.469 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01739/0.5407, allocations: 5.327 MB / 0.5126 GB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.5408, allocations: 13.8 kB / 0.5126 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006715/0.5475, allocations: 1.868 MB / 0.5144 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006408/0.5539, allocations: 2.549 MB / 0.5169 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.5542, allocations: 246.5 kB / 0.5172 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001298/0.5555, allocations: 312.3 kB / 0.5175 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/0.5794, allocations: 11.19 MB / 0.5284 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.5796, allocations: 47.67 kB / 0.5284 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006152/0.5802, allocations: 151.8 kB / 0.5286 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004146/0.5844, allocations: 2.306 MB / 0.5308 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.6066, allocations: 9.858 MB / 0.5405 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06323/0.6699, allocations: 44.32 MB / 0.5837 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/0.6853, allocations: 5.805 MB / 0.5894 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004267/0.6896, allocations: 3.243 MB / 0.5926 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/0.7037, allocations: 9.34 MB / 0.6017 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01022/0.7139, allocations: 3.376 MB / 0.605 GB, free: 8.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 4.729e-06/0.714, allocations: 0 / 0.605 GB, free: 8.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.4001/1.114, allocations: 32.59 MB / 0.6368 GB, free: 149.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/1.114, allocations: 163.5 kB / 0.637 GB, free: 149.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006488/1.121, allocations: 4.198 MB / 0.6411 GB, free: 147.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.122, allocations: 67.23 kB / 0.6411 GB, free: 147.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002945/1.125, allocations: 3.255 MB / 0.6443 GB, free: 145.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002297/1.127, allocations: 1.029 MB / 0.6453 GB, free: 144.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002742/1.13, allocations: 1.336 MB / 0.6466 GB, free: 144 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/1.13, allocations: 305.1 kB / 0.6469 GB, free: 143.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004487/1.134, allocations: 3.301 MB / 0.6501 GB, free: 142.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006781/1.141, allocations: 6.899 MB / 0.6569 GB, free: 136.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/1.156, allocations: 11.01 MB / 0.6676 GB, free: 128.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/1.156, allocations: 36.25 kB / 0.6677 GB, free: 128.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.03698/1.193, allocations: 12.42 MB / 0.6798 GB, free: 124.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004825/1.194, allocations: 60.14 kB / 0.6798 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006899/1.195, allocations: 125.2 kB / 0.68 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009895/1.205, allocations: 2.639 MB / 0.6825 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/1.211, allocations: 1.468 MB / 0.684 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02735/1.238, allocations: 21.65 MB / 0.7051 GB, free: 109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00776/1.246, allocations: 437.7 kB / 0.7055 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002002/1.248, allocations: 394.8 kB / 0.7059 GB, free: 108.3 MB / 494.1 MB 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.006915/1.255, allocations: 2.231 MB / 0.7081 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/1.257, allocations: 406 kB / 0.7085 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/1.272, allocations: 7.814 MB / 0.7161 GB, free: 99.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/1.272, allocations: 35.81 kB / 0.7161 GB, free: 99.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/1.272, allocations: 12 kB / 0.7162 GB, free: 99.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.956e-05/1.272, allocations: 11.95 kB / 0.7162 GB, free: 99.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03127/1.304, allocations: 14.47 MB / 0.7303 GB, free: 84.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/1.304, allocations: 0 / 0.7303 GB, free: 84.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/1.306, allocations: 391.4 kB / 0.7307 GB, free: 84.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005846/1.312, allocations: 2.415 MB / 0.733 GB, free: 82.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005186/1.312, allocations: 51.98 kB / 0.7331 GB, free: 82.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02308/1.335, allocations: 21.44 MB / 0.754 GB, free: 60.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.335, allocations: 7.938 kB / 0.754 GB, free: 60.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.351, allocations: 7.948 MB / 0.7618 GB, free: 52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/1.354, allocations: 0.972 MB / 0.7627 GB, free: 51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001688/1.355, allocations: 45.75 kB / 0.7628 GB, free: 50.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/1.359, allocations: 215.1 kB / 0.763 GB, free: 50.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/1.36, allocations: 193.4 kB / 0.7632 GB, free: 50.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004566/1.36, allocations: 75.98 kB / 0.7633 GB, free: 50.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005872/1.366, allocations: 2.638 MB / 0.7658 GB, free: 47.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.41e-07/1.366, allocations: 0 / 0.7658 GB, free: 47.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008952/1.375, allocations: 1.353 MB / 0.7671 GB, free: 46.5 MB / 494.1 MB 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.00193/1.377, allocations: 0.4979 MB / 0.7676 GB, free: 46.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01887/1.396, allocations: 8.671 MB / 0.7761 GB, free: 37.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.396, allocations: 0 / 0.7761 GB, free: 37.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007843/1.404, allocations: 3.942 MB / 0.78 GB, free: 33.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007377/1.411, allocations: 486.5 kB / 0.7804 GB, free: 32.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02945/1.441, allocations: 14.1 MB / 0.7942 GB, free: 18.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004191/1.445, allocations: 3.588 MB / 0.7977 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005434/1.45, allocations: 2.122 MB / 0.7998 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.452, allocations: 267.4 kB / 0.8 GB, free: 12.76 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/1.452, allocations: 0 / 0.8 GB, free: 12.76 MB / 494.1 MB Notification: Performance of Templates: time 0.3781/1.83, allocations: 62.34 MB / 0.8609 GB, free: 121 MB / 494.1 MB 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)