Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00824/0.00824, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.417/1.417, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001666/0.001666, allocations: 115.4 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.3788/0.3788, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.000431, allocations: 8 kB / 362.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1139, allocations: 48.71 MB / 411.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3157/0.4297, allocations: 75.51 MB / 487.1 MB, free: 12.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.43, allocations: 73.89 kB / 487.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.4435, allocations: 5.777 MB / 492.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4435, allocations: 0 / 492.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.4436, allocations: 8 kB / 492.9 MB, free: 7.391 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0006798/0.4442, allocations: 0.5889 MB / 493.5 MB, free: 6.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4443, allocations: 8.031 kB / 493.5 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.4444, allocations: 49.62 kB / 493.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.4446, allocations: 253.3 kB / 493.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4446, allocations: 25.75 kB / 493.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.4447, allocations: 44.84 kB / 493.9 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.4452, allocations: 386.5 kB / 494.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.4452, allocations: 12.92 kB / 494.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.4453, allocations: 17.88 kB / 494.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4453, allocations: 15.94 kB / 494.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.4456, allocations: 225.6 kB / 494.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.4473, allocations: 1.72 MB / 496.3 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.4477, allocations: 262.7 kB / 496.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.4477, allocations: 4.234 kB / 496.5 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.4477, allocations: 45.31 kB / 496.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.4478, allocations: 0 / 496.6 MB, free: 3.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005959/0.4484, allocations: 279.1 kB / 496.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.4484, allocations: 221.5 kB / 497.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4486, allocations: 238 kB / 497.3 MB, free: 3.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4486, allocations: 29.64 kB / 497.3 MB, free: 3.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.4488, allocations: 244.1 kB / 497.6 MB, free: 3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.4488, allocations: 123.4 kB / 497.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.4488, allocations: 7.688 kB / 497.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.4489, allocations: 346.8 kB / 498 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.4491, allocations: 101.4 kB / 498.1 MB, free: 2.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.4494, allocations: 426.7 kB / 498.5 MB, free: 1.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.4496, allocations: 171.7 kB / 498.7 MB, free: 1.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4497, allocations: 11.89 kB / 498.7 MB, free: 1.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006569/0.4503, allocations: 0.5291 MB / 499.2 MB, free: 1.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4504, allocations: 8 kB / 499.3 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.4504, allocations: 12 kB / 499.3 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.4504, allocations: 23.94 kB / 499.3 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.4508, allocations: 144.2 kB / 499.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.4508, allocations: 27.86 kB / 499.5 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.4511, allocations: 67.06 kB / 499.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.4511, allocations: 31.62 kB / 499.6 MB, free: 1.105 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * 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.0001339/0.4513, allocations: 181 kB / 499.7 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.4514, allocations: 35.58 kB / 499.8 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.4515, allocations: 35.27 kB / 499.8 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4515, allocations: 4 kB / 499.8 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4515, allocations: 4 kB / 499.8 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4515, allocations: 8 kB / 499.8 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009635/0.4525, allocations: 0.6383 MB / 0.4887 GB, free: 264 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4525, allocations: 0 / 0.4887 GB, free: 264 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.4529, allocations: 95.44 kB / 0.4888 GB, free: 172 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4529, allocations: 4 kB / 0.4888 GB, free: 168 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.4529, allocations: 11.31 kB / 0.4888 GB, free: 160 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.453, allocations: 7.938 kB / 0.4888 GB, free: 152 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.453, allocations: 0.625 kB / 0.4888 GB, free: 152 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008055/0.4538, allocations: 0.9367 MB / 0.4898 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.4539, allocations: 123.1 kB / 0.4899 GB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.454, allocations: 11.31 kB / 0.4899 GB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.4543, allocations: 23.36 kB / 0.4899 GB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.4543, allocations: 19.25 kB / 0.4899 GB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.4544, allocations: 11.98 kB / 0.4899 GB, free: 15.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.4545, allocations: 183.3 kB / 0.4901 GB, free: 14.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4545, allocations: 0 / 0.4901 GB, free: 14.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006689/0.4552, allocations: 102.5 kB / 0.4902 GB, free: 14.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * 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.0001305/0.4554, allocations: 114.3 kB / 0.4903 GB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004895/0.4559, allocations: 293.7 kB / 0.4906 GB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4559, allocations: 0 / 0.4906 GB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.456, allocations: 97.39 kB / 0.4907 GB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.4567, allocations: 63.3 kB / 0.4908 GB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.4592, allocations: 1.901 MB / 0.4926 GB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.4597, allocations: 0.8072 MB / 0.4934 GB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.4598, allocations: 43.27 kB / 0.4934 GB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.4599, allocations: 23.44 kB / 0.4935 GB, free: 11.49 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4599, allocations: 0 / 0.4935 GB, free: 11.49 MB / 346.7 MB Notification: Performance of Templates: time 0.006247/0.4662, allocations: 2.656 MB / 0.4961 GB, free: 8.871 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)