Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") [: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.1+maint.om/package.mo): time 0.004295/0.004295, allocations: 172.5 kB / 7.447 MB, free: 2.504 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.344/1.344, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001943/0.001943, allocations: 112.4 kB / 217.7 MB, free: 8.23 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.164/0.164, allocations: 37.96 MB / 294.8 MB, free: 9.641 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/9.197e-06, allocations: 0 / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 48.71 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.4424, allocations: 74.77 MB / 473 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.4427, allocations: 70.08 kB / 473 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02104/0.4638, allocations: 5.49 MB / 478.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.821e-05/0.4638, allocations: 7.719 kB / 478.5 MB, free: 13.09 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001005/0.4649, allocations: 0.5936 MB / 479.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4649, allocations: 7.875 kB / 479.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.465, allocations: 46.81 kB / 479.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.4654, allocations: 272.6 kB / 479.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.4654, allocations: 19.56 kB / 479.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.4655, allocations: 31.17 kB / 479.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005568/0.4661, allocations: 193.6 kB / 479.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.4668, allocations: 299.3 kB / 480 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.4669, allocations: 0 / 480 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.4669, allocations: 0 / 480 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.4669, allocations: 11.62 kB / 480 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.4688, allocations: 1.021 MB / 481 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.4692, allocations: 227.7 kB / 481.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.4695, allocations: 149.1 kB / 481.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.4695, allocations: 6.719 kB / 481.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.4696, allocations: 41.45 kB / 481.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/0.4696, allocations: 3.938 kB / 481.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.003922/0.4735, allocations: 2.126 MB / 483.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.4736, allocations: 106.7 kB / 483.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.4738, allocations: 165.1 kB / 483.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4738, allocations: 25.7 kB / 483.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.4739, allocations: 173.9 kB / 484 MB, free: 9.859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.4741, allocations: 191.9 kB / 484.2 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.4741, allocations: 4 kB / 484.2 MB, free: 9.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.4742, allocations: 342.7 kB / 484.6 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.4744, allocations: 102.6 kB / 484.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.4748, allocations: 196.1 kB / 484.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.4751, allocations: 135.8 kB / 485 MB, free: 9.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4751, allocations: 0 / 485 MB, free: 9.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001062/0.4762, allocations: 474.2 kB / 485.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4762, allocations: 10.05 kB / 485.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4762, allocations: 0 / 485.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.4767, allocations: 122.3 kB / 485.6 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.4773, allocations: 106.4 kB / 485.7 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004359/0.4816, allocations: 4.43 MB / 490.1 MB, free: 21.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.4821, allocations: 10.94 kB / 490.1 MB, free: 21.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.4822, allocations: 22.25 kB / 490.1 MB, free: 21.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002054/0.4824, allocations: 124.7 kB / 490.3 MB, free: 21.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.4826, allocations: 30.97 kB / 490.3 MB, free: 21.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.4827, allocations: 36.91 kB / 490.3 MB, free: 21.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4827, allocations: 7.781 kB / 490.3 MB, free: 21.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.039e-05/0.4827, allocations: 3.75 kB / 490.3 MB, free: 21.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.4828, allocations: 2.859 kB / 490.3 MB, free: 21.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.4853, allocations: 1.184 MB / 491.5 MB, free: 20.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4854, allocations: 4 kB / 491.5 MB, free: 20.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/0.4861, allocations: 105.8 kB / 491.6 MB, free: 20.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.4865, allocations: 91.44 kB / 491.7 MB, free: 20.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.4865, allocations: 3.875 kB / 491.7 MB, free: 20.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004225/0.4908, allocations: 3.915 MB / 495.6 MB, free: 16.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4908, allocations: 0 / 495.6 MB, free: 16.98 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001559/0.4924, allocations: 0.8869 MB / 496.5 MB, free: 16.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.4927, allocations: 138.5 kB / 496.7 MB, free: 16.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.4928, allocations: 7.906 kB / 496.7 MB, free: 16.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.4933, allocations: 10.52 kB / 496.7 MB, free: 16.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4934, allocations: 29.86 kB / 496.7 MB, free: 16.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.4935, allocations: 14.88 kB / 496.7 MB, free: 16.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001544/0.4936, allocations: 139.2 kB / 496.9 MB, free: 16.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001289/0.4949, allocations: 101 kB / 497 MB, free: 16.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002124/0.4951, allocations: 110.4 kB / 497.1 MB, free: 16.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4965, allocations: 0.6396 MB / 497.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4965, allocations: 0 / 497.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008974/0.4974, allocations: 0.4975 MB / 498.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.4981, allocations: 46.03 kB / 498.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.5003, allocations: 0.8887 MB / 499.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.501, allocations: 0.853 MB / 500 MB, free: 14.37 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.501, allocations: 4 kB / 500 MB, free: 14.37 MB / 346.7 MB Notification: Performance of Templates: time 0.01145/0.5124, allocations: 4.371 MB / 0.4925 GB, free: 14.05 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)