Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01095/0.01095, allocations: 166.3 kB / 15.11 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.645/1.645, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.00177/0.00177, allocations: 106.6 kB / 226.2 MB, free: 10.12 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.3372/0.3372, allocations: 38.06 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8 kB / 362.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1028, allocations: 48.71 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4504, allocations: 102.8 MB / 0.5023 GB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.4507, allocations: 82.08 kB / 0.5024 GB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5742/1.025, allocations: 154.2 MB / 0.653 GB, free: 76.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.025, allocations: 0 / 0.653 GB, free: 76.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003043/1.025, allocations: 138 kB / 0.6531 GB, free: 76.62 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02118/1.046, allocations: 6.969 MB / 0.6599 GB, free: 73.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.047, allocations: 9.875 kB / 0.6599 GB, free: 73.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02666/1.073, allocations: 6.668 MB / 0.6664 GB, free: 72.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02046/1.094, allocations: 8.397 MB / 0.6746 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004822/1.094, allocations: 0.5303 MB / 0.6752 GB, free: 67.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003372/1.098, allocations: 0.7091 MB / 0.6758 GB, free: 67.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04142/1.139, allocations: 18.85 MB / 0.6943 GB, free: 52.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004249/1.139, allocations: 87.2 kB / 0.6943 GB, free: 52.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003103/1.143, allocations: 339.5 kB / 0.6947 GB, free: 51.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/1.145, allocations: 1.712 MB / 0.6963 GB, free: 50.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03368/1.179, allocations: 16.54 MB / 0.7125 GB, free: 33.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3859/1.565, allocations: 74.1 MB / 0.7848 GB, free: 38.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/1.58, allocations: 6.162 MB / 0.7909 GB, free: 37.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02571/1.605, allocations: 13.91 MB / 0.8045 GB, free: 33.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.58e-05/1.605, allocations: 57.72 kB / 0.8045 GB, free: 33.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 9.458e-06/1.605, allocations: 2 kB / 0.8045 GB, free: 33.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=344): time 0.08389/1.689, allocations: 24.73 MB / 0.8287 GB, free: 28.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.689, allocations: 192.5 kB / 0.8288 GB, free: 28.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008125/1.698, allocations: 5.244 MB / 0.834 GB, free: 27.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000692/1.698, allocations: 78.86 kB / 0.834 GB, free: 27.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002715/1.701, allocations: 4.994 MB / 0.8389 GB, free: 23.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.702, allocations: 1.281 MB / 0.8402 GB, free: 22.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000472/1.703, allocations: 184.6 kB / 0.8403 GB, free: 22.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000458/1.703, allocations: 0.71 MB / 0.841 GB, free: 21.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004375/1.708, allocations: 3.259 MB / 0.8442 GB, free: 20.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006773/1.715, allocations: 8.703 MB / 0.8527 GB, free: 12.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007667/1.722, allocations: 5.244 MB / 0.8578 GB, free: 10.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002058/1.722, allocations: 56.59 kB / 0.8579 GB, free: 10.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02539/1.748, allocations: 12.74 MB / 0.8703 GB, free: 6.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/1.748, allocations: 87.38 kB / 0.8704 GB, free: 6.055 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003147/1.748, allocations: 192.1 kB / 0.8706 GB, free: 6.055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003978/1.752, allocations: 1.332 MB / 0.8719 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00706/1.759, allocations: 2.18 MB / 0.874 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.77, allocations: 7.408 MB / 0.8813 GB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007952/1.778, allocations: 0.5542 MB / 0.8818 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/1.78, allocations: 0.5476 MB / 0.8823 GB, free: 1.406 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008233/1.788, allocations: 3.486 MB / 0.8858 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.79, allocations: 0.5321 MB / 0.8863 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.802, allocations: 5.324 MB / 0.8915 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/1.802, allocations: 36 kB / 0.8915 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/1.802, allocations: 8 kB / 0.8915 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/1.802, allocations: 12.05 kB / 0.8915 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03756/1.839, allocations: 14.44 MB / 0.9056 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/1.839, allocations: 15.95 kB / 0.9056 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002812/1.842, allocations: 0.5345 MB / 0.9062 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00384/1.846, allocations: 0.9251 MB / 0.9071 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006675/1.847, allocations: 66.72 kB / 0.9071 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009805/1.857, allocations: 5.697 MB / 0.9127 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/1.857, allocations: 15.94 kB / 0.9127 GB, free: 8.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2629/2.12, allocations: 10.52 MB / 0.923 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004045/2.124, allocations: 0.9479 MB / 0.9239 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/2.125, allocations: 65.11 kB / 0.924 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/2.129, allocations: 187.4 kB / 0.9241 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005578/2.13, allocations: 220.1 kB / 0.9244 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002566/2.13, allocations: 104 kB / 0.9245 GB, free: 107.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008119/2.138, allocations: 3.657 MB / 0.928 GB, free: 107.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.11e-07/2.138, allocations: 0 / 0.928 GB, free: 107.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01157/2.149, allocations: 1.658 MB / 0.9296 GB, free: 107.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008947/2.15, allocations: 261.9 kB / 0.9299 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01335/2.164, allocations: 7.777 MB / 0.9375 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/2.164, allocations: 2.688 kB / 0.9375 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003867/2.168, allocations: 2.397 MB / 0.9398 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/2.172, allocations: 0.6391 MB / 0.9405 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/2.205, allocations: 18.16 MB / 0.9582 GB, free: 99.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01134/2.216, allocations: 5.32 MB / 0.9634 GB, free: 98.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009891/2.226, allocations: 3.038 MB / 0.9664 GB, free: 98.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/2.228, allocations: 381.2 kB / 0.9667 GB, free: 98.89 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/2.228, allocations: 0 / 0.9667 GB, free: 98.89 MB / 474.7 MB Notification: Performance of Templates: time 0.1011/2.329, allocations: 55.25 MB / 1.021 GB, free: 84.48 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1)