Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003454/0.003454, allocations: 181.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.333/1.333, allocations: 194.2 MB / 202.1 MB, free: 8.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00179/0.00179, allocations: 117.5 kB / 247.1 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1693/0.1693, allocations: 39.93 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.951e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.08907, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2827/0.3719, allocations: 78.94 MB / 0.5142 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.3721, allocations: 65.25 kB / 0.5143 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004767/0.3769, allocations: 1.631 MB / 0.5159 GB, free: 9.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.377, allocations: 1.469 kB / 0.5159 GB, free: 9.988 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000328/0.3773, allocations: 375.9 kB / 0.5163 GB, free: 9.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3773, allocations: 12.34 kB / 0.5163 GB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.3774, allocations: 10.19 kB / 0.5163 GB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.78e-05/0.3775, allocations: 176.1 kB / 0.5164 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3775, allocations: 6.625 kB / 0.5165 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.3775, allocations: 12.53 kB / 0.5165 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001173/0.3776, allocations: 56.02 kB / 0.5165 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3778, allocations: 110.8 kB / 0.5166 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3778, allocations: 1.156 kB / 0.5166 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3779, allocations: 1.562 kB / 0.5166 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3779, allocations: 6.531 kB / 0.5166 GB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.3785, allocations: 0.5141 MB / 0.5171 GB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.3786, allocations: 63.58 kB / 0.5172 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.3786, allocations: 26.5 kB / 0.5172 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3786, allocations: 5 kB / 0.5172 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.3786, allocations: 37 kB / 0.5173 GB, free: 8.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3786, allocations: 4 kB / 0.5173 GB, free: 8.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002723/0.3789, allocations: 92.94 kB / 0.5174 GB, free: 8.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.3789, allocations: 79.14 kB / 0.5174 GB, free: 8.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.379, allocations: 113.9 kB / 0.5175 GB, free: 8.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.379, allocations: 29.08 kB / 0.5176 GB, free: 8.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.3791, allocations: 109.9 kB / 0.5177 GB, free: 8.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3791, allocations: 29.88 kB / 0.5177 GB, free: 8.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.3791, allocations: 0 / 0.5177 GB, free: 8.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.331e-05/0.3791, allocations: 326.8 kB / 0.518 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.217e-05/0.3792, allocations: 19.16 kB / 0.518 GB, free: 8.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.3792, allocations: 82.23 kB / 0.5181 GB, free: 8.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.532e-05/0.3793, allocations: 31.52 kB / 0.5181 GB, free: 8.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3793, allocations: 1.469 kB / 0.5181 GB, free: 8.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002393/0.3796, allocations: 155.6 kB / 0.5183 GB, free: 7.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3796, allocations: 5.25 kB / 0.5183 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3796, allocations: 1.312 kB / 0.5183 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.3797, allocations: 37.5 kB / 0.5183 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.3798, allocations: 24.14 kB / 0.5184 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.3811, allocations: 2.421 MB / 0.5207 GB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.3811, allocations: 11.5 kB / 0.5207 GB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3811, allocations: 8.031 kB / 0.5207 GB, free: 5.559 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/0.3812, allocations: 109 kB / 0.5208 GB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.3813, allocations: 8.438 kB / 0.5208 GB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.3813, allocations: 10.08 kB / 0.5209 GB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3813, allocations: 1.25 kB / 0.5209 GB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3813, allocations: 10.31 kB / 0.5209 GB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3813, allocations: 0 / 0.5209 GB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3815, allocations: 171.9 kB / 0.521 GB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3815, allocations: 1.25 kB / 0.521 GB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.3816, allocations: 14.84 kB / 0.521 GB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.379e-05/0.3817, allocations: 37.06 kB / 0.5211 GB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3817, allocations: 1.5 kB / 0.5211 GB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3828, allocations: 2.419 MB / 0.5234 GB, free: 18.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3829, allocations: 2.188 kB / 0.5234 GB, free: 18.84 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002539/0.3831, allocations: 298.9 kB / 0.5237 GB, free: 18.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3832, allocations: 84.42 kB / 0.5238 GB, free: 18.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3832, allocations: 5.172 kB / 0.5238 GB, free: 18.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.3833, allocations: 5.656 kB / 0.5238 GB, free: 18.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.3833, allocations: 7.328 kB / 0.5238 GB, free: 18.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3833, allocations: 5.906 kB / 0.5238 GB, free: 18.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.546e-05/0.3834, allocations: 92.14 kB / 0.5239 GB, free: 18.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003315/0.3837, allocations: 34.69 kB / 0.524 GB, free: 18.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.3839, allocations: 97.78 kB / 0.524 GB, free: 18.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.3842, allocations: 264.8 kB / 0.5243 GB, free: 18.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3842, allocations: 0 / 0.5243 GB, free: 18.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.3844, allocations: 240.7 kB / 0.5245 GB, free: 17.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3847, allocations: 26.28 kB / 0.5246 GB, free: 17.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.3852, allocations: 374.1 kB / 0.5249 GB, free: 17.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.3855, allocations: 0.7212 MB / 0.5256 GB, free: 16.93 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3855, allocations: 0 / 0.5256 GB, free: 16.93 MB / 362.7 MB Notification: Performance of Templates: time 0.003556/0.3891, allocations: 1.416 MB / 0.527 GB, free: 16.72 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)