Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.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.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000926/0.0009261, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.202/1.202, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001543/0.001543, allocations: 108.3 kB / 218 MB, free: 15.33 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.1857/0.1857, allocations: 37.97 MB / 295.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.368e-05/1.371e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2868, allocations: 48.69 MB / 398.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4155, allocations: 89.96 MB / 488.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4157, allocations: 74.25 kB / 488.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4345/0.8502, allocations: 83.01 MB / 0.5584 GB, free: 94.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.8503, allocations: 0 / 0.5584 GB, free: 94.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000288/0.8506, allocations: 83.56 kB / 0.5584 GB, free: 94.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01327/0.8639, allocations: 3.896 MB / 0.5622 GB, free: 92.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.8639, allocations: 9.156 kB / 0.5622 GB, free: 92.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/0.8762, allocations: 2.434 MB / 0.5646 GB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.8897, allocations: 5.121 MB / 0.5696 GB, free: 91.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/0.8901, allocations: 137.5 kB / 0.5698 GB, free: 91.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/0.8921, allocations: 254.8 kB / 0.57 GB, free: 91.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01243/0.9046, allocations: 6.007 MB / 0.5759 GB, free: 91.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.9216, allocations: 9.266 MB / 0.5849 GB, free: 88.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002983/0.9219, allocations: 57.94 kB / 0.585 GB, free: 88.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/0.9236, allocations: 30.31 kB / 0.585 GB, free: 88.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/0.9253, allocations: 1.009 MB / 0.586 GB, free: 88.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04673/0.972, allocations: 46.63 MB / 0.6315 GB, free: 51.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.9743, allocations: 1.969 MB / 0.6335 GB, free: 50.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009724/0.9753, allocations: 0.8829 MB / 0.6343 GB, free: 50.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.9758, allocations: 0.5596 MB / 0.6349 GB, free: 49.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.9758, allocations: 54.59 kB / 0.6349 GB, free: 49.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 6.532e-06/0.9759, allocations: 3.703 kB / 0.6349 GB, free: 49.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.01827/0.9941, allocations: 8.74 MB / 0.6435 GB, free: 44.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.9943, allocations: 253.7 kB / 0.6437 GB, free: 44.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.9984, allocations: 3.032 MB / 0.6467 GB, free: 43.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002056/0.9986, allocations: 29.17 kB / 0.6467 GB, free: 43.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.9999, allocations: 3.181 MB / 0.6498 GB, free: 40.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/1, allocations: 0.6053 MB / 0.6504 GB, free: 39.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1, allocations: 0 / 0.6504 GB, free: 39.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/1.001, allocations: 0.5655 MB / 0.6509 GB, free: 39.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/1.002, allocations: 1.469 MB / 0.6524 GB, free: 37.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003066/1.005, allocations: 5.378 MB / 0.6576 GB, free: 30.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/1.009, allocations: 2.81 MB / 0.6604 GB, free: 28.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.725e-05/1.009, allocations: 40 kB / 0.6604 GB, free: 28.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.008325/1.017, allocations: 5.926 MB / 0.6662 GB, free: 23.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/1.018, allocations: 64 kB / 0.6662 GB, free: 23.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-05/1.018, allocations: 147.2 kB / 0.6664 GB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/1.018, allocations: 204.8 kB / 0.6666 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/1.022, allocations: 1.469 MB / 0.668 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001243/1.022, allocations: 279.1 kB / 0.6683 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/1.026, allocations: 261.1 kB / 0.6685 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004383/1.026, allocations: 392.1 kB / 0.6689 GB, free: 20.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (776): * Single equations (assignments): 773 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005279/1.027, allocations: 454.3 kB / 0.6693 GB, free: 20.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/1.027, allocations: 315.9 kB / 0.6696 GB, free: 19.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.029, allocations: 1.166 MB / 0.6708 GB, free: 18.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/1.029, allocations: 16.98 kB / 0.6708 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.029, allocations: 3.938 kB / 0.6708 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/1.029, allocations: 11.36 kB / 0.6708 GB, free: 18.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/1.035, allocations: 5.035 MB / 0.6757 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.035, allocations: 16 kB / 0.6757 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009114/1.036, allocations: 273.1 kB / 0.676 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.321e-05/1.036, allocations: 27.28 kB / 0.676 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/1.036, allocations: 28 kB / 0.6761 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/1.036, allocations: 35.34 kB / 0.6761 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/1.036, allocations: 23.88 kB / 0.6761 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/1.04, allocations: 4.761 MB / 0.6808 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.041, allocations: 0.5017 MB / 0.6813 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/1.041, allocations: 22.48 kB / 0.6813 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.042, allocations: 70.36 kB / 0.6813 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.042, allocations: 141.5 kB / 0.6815 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-05/1.043, allocations: 68.45 kB / 0.6815 GB, free: 8.133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003166/1.046, allocations: 1.997 MB / 0.6835 GB, free: 6.406 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.046, allocations: 0 / 0.6835 GB, free: 6.406 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00563/1.051, allocations: 0.7581 MB / 0.6842 GB, free: 5.652 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004672/1.052, allocations: 180.6 kB / 0.6844 GB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004828/1.057, allocations: 3.365 MB / 0.6877 GB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.057, allocations: 4 kB / 0.6877 GB, free: 2.418 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007335/1.057, allocations: 0.682 MB / 0.6884 GB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/1.059, allocations: 348.4 kB / 0.6887 GB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.073, allocations: 6.956 MB / 0.6955 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003944/1.077, allocations: 3.219 MB / 0.6986 GB, free: 7.121 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004924/1.082, allocations: 1.865 MB / 0.7004 GB, free: 5.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/1.082, allocations: 223.4 kB / 0.7007 GB, free: 5.031 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/1.082, allocations: 0 / 0.7007 GB, free: 5.031 MB / 426.7 MB Notification: Performance of Templates: time 0.2889/1.371, allocations: 22.96 MB / 0.7231 GB, free: 91.29 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1)