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") [: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.004475/0.004475, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.332/1.332, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001741/0.001741, allocations: 104.5 kB / 217.7 MB, free: 8.219 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.1707/0.1707, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.856e-06/9.197e-06, allocations: 1.031 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09653, allocations: 48.7 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.3879, allocations: 74.69 MB / 472.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.3881, allocations: 69.19 kB / 473 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0138/0.4019, allocations: 5.44 MB / 478.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.402, allocations: 7.75 kB / 478.4 MB, free: 13.28 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.0007716/0.4028, allocations: 0.5655 MB / 479 MB, free: 12.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4028, allocations: 13.94 kB / 479 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.4029, allocations: 39.53 kB / 479 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.4033, allocations: 267.1 kB / 479.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.4033, allocations: 12.78 kB / 479.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.4034, allocations: 32.7 kB / 479.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003895/0.4038, allocations: 162.5 kB / 479.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.4043, allocations: 319.3 kB / 479.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.4043, allocations: 7.75 kB / 479.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.4044, allocations: 0 / 479.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4044, allocations: 7.625 kB / 479.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.4065, allocations: 1.649 MB / 481.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.4068, allocations: 200.1 kB / 481.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.4069, allocations: 82.55 kB / 481.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4069, allocations: 3.938 kB / 481.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.407, allocations: 41.56 kB / 481.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.186e-06/0.407, allocations: 0 / 481.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004262/0.4074, allocations: 174.8 kB / 482 MB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.4075, allocations: 220.1 kB / 482.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.4077, allocations: 214.9 kB / 482.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.4077, allocations: 25.7 kB / 482.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.4078, allocations: 230.5 kB / 482.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.4078, allocations: 113.7 kB / 482.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.4079, allocations: 0 / 482.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.408, allocations: 341.6 kB / 483.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.4081, allocations: 75.19 kB / 483.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.4084, allocations: 395.7 kB / 483.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.4087, allocations: 144.2 kB / 483.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.4087, allocations: 7.844 kB / 483.7 MB, free: 9.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006762/0.4094, allocations: 423.4 kB / 484.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4094, allocations: 3.906 kB / 484.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.4094, allocations: 11.75 kB / 484.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.4094, allocations: 23.41 kB / 484.1 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.4099, allocations: 148.2 kB / 484.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.41, allocations: 26.83 kB / 484.3 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.4103, allocations: 54.94 kB / 484.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4103, allocations: 38 kB / 484.4 MB, free: 9.449 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 () * 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 9.665e-05/0.4104, allocations: 128.4 kB / 484.5 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4106, allocations: 30.91 kB / 484.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.4107, allocations: 27.81 kB / 484.6 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4107, allocations: 7.688 kB / 484.6 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4107, allocations: 3.906 kB / 484.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.4107, allocations: 7.844 kB / 484.6 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.4122, allocations: 0.5856 MB / 485.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4122, allocations: 3.812 kB / 485.2 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.413, allocations: 90.16 kB / 485.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.413, allocations: 3.969 kB / 485.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.413, allocations: 14.75 kB / 485.3 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.4131, allocations: 3.938 kB / 485.3 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.4131, allocations: 3.969 kB / 485.3 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008499/0.4139, allocations: 0.8764 MB / 486.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.4141, allocations: 117 kB / 486.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.4142, allocations: 10.56 kB / 486.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.4148, allocations: 10.77 kB / 486.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.4149, allocations: 17.39 kB / 486.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.415, allocations: 14.75 kB / 486.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000212/0.4152, allocations: 161.8 kB / 486.5 MB, free: 7.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001261/0.4165, allocations: 97.81 kB / 486.6 MB, free: 7.918 MB / 330.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 () * 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.0001948/0.4167, allocations: 98.81 kB / 486.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005573/0.4172, allocations: 237.1 kB / 486.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4173, allocations: 0 / 486.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4174, allocations: 75.34 kB / 487 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4186, allocations: 53.33 kB / 487.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.4215, allocations: 1.442 MB / 488.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/0.4222, allocations: 0.8368 MB / 489.3 MB, free: 22.04 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4222, allocations: 0 / 489.3 MB, free: 22.04 MB / 346.7 MB Notification: Performance of Templates: time 0.009681/0.4319, allocations: 2.881 MB / 492.2 MB, free: 21.81 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)