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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001174/0.001175, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.461/1.461, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001665/0.001665, allocations: 107.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2021/0.2021, allocations: 37.97 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.797e-05, allocations: 2.5 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 48.72 MB / 398.7 MB, free: 5.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5009, allocations: 92.16 MB / 490.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.5012, allocations: 68.42 kB / 490.9 MB, free: 17.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2652/0.7664, allocations: 90.38 MB / 0.5677 GB, free: 5.859 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.7665, allocations: 0 / 0.5677 GB, free: 5.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001633/0.7667, allocations: 83.98 kB / 0.5678 GB, free: 5.777 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.009864/0.7765, allocations: 4.71 MB / 0.5724 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.7766, allocations: 12.03 kB / 0.5724 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008793/0.7854, allocations: 2.232 MB / 0.5746 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.7979, allocations: 5.061 MB / 0.5795 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.7981, allocations: 136 kB / 0.5796 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.7994, allocations: 251.9 kB / 0.5799 GB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01285/0.8123, allocations: 6.791 MB / 0.5865 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/0.83, allocations: 10.12 MB / 0.5964 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.8301, allocations: 59.47 kB / 0.5965 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004602/0.8306, allocations: 28 kB / 0.5965 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001391/0.832, allocations: 1.148 MB / 0.5976 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3054/1.137, allocations: 49.23 MB / 0.6457 GB, free: 62.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006531/1.144, allocations: 4.395 MB / 0.65 GB, free: 61.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004508/1.149, allocations: 3.053 MB / 0.6529 GB, free: 61.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/1.15, allocations: 1.26 MB / 0.6542 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005796/1.156, allocations: 3.111 MB / 0.6572 GB, free: 60.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=215): time 9.808e-06/1.156, allocations: 0 / 0.6572 GB, free: 60.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=282): time 0.06271/1.219, allocations: 24.98 MB / 0.6816 GB, free: 56.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/1.219, allocations: 161 kB / 0.6818 GB, free: 56.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/1.225, allocations: 3.154 MB / 0.6848 GB, free: 55.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008789/1.225, allocations: 40.47 kB / 0.6849 GB, free: 55.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003055/1.228, allocations: 3.296 MB / 0.6881 GB, free: 53.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.23, allocations: 1.005 MB / 0.6891 GB, free: 52.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/1.23, allocations: 3.875 kB / 0.6891 GB, free: 52.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003046/1.231, allocations: 0.5945 MB / 0.6897 GB, free: 51.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/1.234, allocations: 3.046 MB / 0.6926 GB, free: 50.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/1.239, allocations: 6.749 MB / 0.6992 GB, free: 44.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005525/1.245, allocations: 4.49 MB / 0.7036 GB, free: 43.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.262e-05/1.245, allocations: 36.66 kB / 0.7037 GB, free: 43.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02/1.265, allocations: 11.42 MB / 0.7148 GB, free: 39.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/1.265, allocations: 95.02 kB / 0.7149 GB, free: 39.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/1.265, allocations: 128.8 kB / 0.715 GB, free: 39.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006435/1.272, allocations: 2.644 MB / 0.7176 GB, free: 38.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/1.278, allocations: 1.514 MB / 0.7191 GB, free: 37.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/1.3, allocations: 20.37 MB / 0.739 GB, free: 19.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006303/1.307, allocations: 304.5 kB / 0.7393 GB, free: 18.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.308, allocations: 409.8 kB / 0.7397 GB, free: 18.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (785): * Single equations (assignments): 777 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.001137/1.309, allocations: 456.7 kB / 0.7401 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/1.309, allocations: 363.3 kB / 0.7404 GB, free: 17.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/1.321, allocations: 7.332 MB / 0.7476 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.945e-05/1.321, allocations: 28 kB / 0.7476 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.321, allocations: 8 kB / 0.7476 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/1.321, allocations: 17.17 kB / 0.7476 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/1.344, allocations: 13.47 MB / 0.7608 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/1.344, allocations: 0 / 0.7608 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/1.346, allocations: 396.8 kB / 0.7612 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006906/1.353, allocations: 2.505 MB / 0.7636 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004114/1.353, allocations: 8 kB / 0.7636 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3021/1.655, allocations: 20.14 MB / 0.7833 GB, free: 94.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.656, allocations: 6.953 kB / 0.7833 GB, free: 94.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/1.673, allocations: 7.826 MB / 0.791 GB, free: 94.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002819/1.676, allocations: 0.9273 MB / 0.7919 GB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008241/1.677, allocations: 9.062 kB / 0.7919 GB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/1.679, allocations: 160.7 kB / 0.792 GB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006745/1.68, allocations: 196.7 kB / 0.7922 GB, free: 93.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.68, allocations: 74.53 kB / 0.7923 GB, free: 93.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004393/1.684, allocations: 2.105 MB / 0.7943 GB, free: 93.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.684, allocations: 0 / 0.7943 GB, free: 93.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009397/1.694, allocations: 1.178 MB / 0.7955 GB, free: 93.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/1.695, allocations: 342.8 kB / 0.7958 GB, free: 93.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01284/1.708, allocations: 8.121 MB / 0.8037 GB, free: 93.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.708, allocations: 0 / 0.8037 GB, free: 93.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005568/1.714, allocations: 3.689 MB / 0.8073 GB, free: 92.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/1.718, allocations: 328.4 kB / 0.8077 GB, free: 92.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.738, allocations: 9.652 MB / 0.8171 GB, free: 90.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004329/1.743, allocations: 3.653 MB / 0.8207 GB, free: 90.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005524/1.748, allocations: 2.158 MB / 0.8228 GB, free: 90.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009921/1.749, allocations: 252.7 kB / 0.823 GB, free: 90.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/1.749, allocations: 3.062 kB / 0.823 GB, free: 90.09 MB / 442.7 MB Notification: Performance of Templates: time 0.08612/1.835, allocations: 53.86 MB / 0.8756 GB, free: 67.42 MB / 442.7 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)