Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003991/0.003991, allocations: 182.3 kB / 7.458 MB, free: 2.5 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.359/1.359, 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.001914/0.001914, allocations: 114.5 kB / 247.1 MB, free: 6.379 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.1784/0.1784, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.601e-06/5.621e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09593, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2836/0.3796, allocations: 81.14 MB / 0.5164 GB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.38, allocations: 67.62 kB / 0.5164 GB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01559/0.3956, allocations: 5.466 MB / 0.5218 GB, free: 9.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.671e-05/0.3957, allocations: 12.28 kB / 0.5218 GB, free: 9.004 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007883/0.3965, allocations: 0.5868 MB / 0.5224 GB, free: 8.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3965, allocations: 9.156 kB / 0.5224 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.3966, allocations: 42.12 kB / 0.5224 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3969, allocations: 277.6 kB / 0.5227 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3969, allocations: 11.38 kB / 0.5227 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.397, allocations: 33.62 kB / 0.5227 GB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003637/0.3974, allocations: 188.5 kB / 0.5229 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.3978, allocations: 304.6 kB / 0.5232 GB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.3978, allocations: 6.156 kB / 0.5232 GB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.3979, allocations: 0 / 0.5232 GB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.3979, allocations: 12.91 kB / 0.5232 GB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.3992, allocations: 1.006 MB / 0.5242 GB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3995, allocations: 230.4 kB / 0.5244 GB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.3998, allocations: 162.4 kB / 0.5246 GB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.3998, allocations: 5.125 kB / 0.5246 GB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3999, allocations: 36.62 kB / 0.5246 GB, free: 7.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 1.533e-06/0.3999, allocations: 0 / 0.5246 GB, free: 7.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.002811/0.4027, allocations: 2.106 MB / 0.5267 GB, free: 5.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.4027, allocations: 113 kB / 0.5268 GB, free: 5.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4029, allocations: 157.5 kB / 0.5269 GB, free: 5.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.4029, allocations: 25.7 kB / 0.527 GB, free: 5.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.403, allocations: 173.8 kB / 0.5271 GB, free: 5.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4031, allocations: 189.2 kB / 0.5273 GB, free: 5.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.4031, allocations: 4 kB / 0.5273 GB, free: 5.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.4032, allocations: 348.1 kB / 0.5276 GB, free: 4.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.4034, allocations: 101.9 kB / 0.5277 GB, free: 4.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.4036, allocations: 199.6 kB / 0.5279 GB, free: 4.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.4038, allocations: 131 kB / 0.528 GB, free: 4.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4038, allocations: 4.938 kB / 0.5281 GB, free: 4.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007572/0.4046, allocations: 483.4 kB / 0.5285 GB, free: 4.586 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4046, allocations: 5 kB / 0.5285 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4046, allocations: 2.562 kB / 0.5285 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/0.405, allocations: 120 kB / 0.5286 GB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.4054, allocations: 102.5 kB / 0.5287 GB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.4084, allocations: 4.434 MB / 0.5331 GB, free: 16.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.4086, allocations: 13.67 kB / 0.5331 GB, free: 16.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.4087, allocations: 21.53 kB / 0.5331 GB, free: 16.52 MB / 362.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.0001406/0.4088, allocations: 122.9 kB / 0.5332 GB, free: 16.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.409, allocations: 35.66 kB / 0.5332 GB, free: 16.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.137e-05/0.409, allocations: 36.42 kB / 0.5333 GB, free: 16.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.409, allocations: 6.969 kB / 0.5333 GB, free: 16.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.4091, allocations: 2.594 kB / 0.5333 GB, free: 16.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4091, allocations: 5.078 kB / 0.5333 GB, free: 16.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.4108, allocations: 1.182 MB / 0.5345 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4108, allocations: 1.5 kB / 0.5345 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.4113, allocations: 101.6 kB / 0.5345 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.4116, allocations: 99.08 kB / 0.5346 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.4116, allocations: 6.312 kB / 0.5346 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.4146, allocations: 3.918 MB / 0.5385 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4146, allocations: 0.9688 kB / 0.5385 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00107/0.4157, allocations: 0.8826 MB / 0.5393 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.4157, allocations: 104.7 kB / 0.5394 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.4158, allocations: 4 kB / 0.5394 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.4161, allocations: 15.98 kB / 0.5395 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.4162, allocations: 34.8 kB / 0.5395 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.4162, allocations: 15.38 kB / 0.5395 GB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001011/0.4163, allocations: 128.7 kB / 0.5396 GB, free: 10.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007861/0.4171, allocations: 99.94 kB / 0.5397 GB, free: 10.8 MB / 362.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.0001853/0.4173, allocations: 104.9 kB / 0.5398 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.4183, allocations: 0.6451 MB / 0.5405 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4183, allocations: 0 / 0.5405 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.419, allocations: 0.4978 MB / 0.5409 GB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.4194, allocations: 35.47 kB / 0.541 GB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.4211, allocations: 0.8831 MB / 0.5418 GB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.4216, allocations: 0.8575 MB / 0.5427 GB, free: 7.898 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4216, allocations: 0 / 0.5427 GB, free: 7.898 MB / 362.7 MB Notification: Performance of Templates: time 0.008451/0.4301, allocations: 4.381 MB / 0.547 GB, free: 3.555 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)