Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [: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.002958/0.002957, allocations: 182.9 kB / 7.456 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.296/1.296, allocations: 194.2 MB / 202.1 MB, free: 8.738 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.001808/0.001808, allocations: 121.2 kB / 247.1 MB, free: 6.367 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.2208/0.2208, allocations: 39.94 MB / 331.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.406e-06, allocations: 4 kB / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3112/0.4364, allocations: 79.24 MB / 0.5145 GB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4367, allocations: 70.22 kB / 0.5146 GB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007322/0.444, allocations: 2.213 MB / 0.5168 GB, free: 10.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.4441, allocations: 2.75 kB / 0.5168 GB, free: 10.02 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004168/0.4445, allocations: 414.3 kB / 0.5172 GB, free: 9.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.4445, allocations: 9.625 kB / 0.5172 GB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.4446, allocations: 24.47 kB / 0.5172 GB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.4447, allocations: 181.7 kB / 0.5174 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.4448, allocations: 5.5 kB / 0.5174 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.4448, allocations: 14.19 kB / 0.5174 GB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002036/0.445, allocations: 76.55 kB / 0.5175 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.4453, allocations: 139 kB / 0.5176 GB, free: 9.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4453, allocations: 6.016 kB / 0.5176 GB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.4453, allocations: 3.906 kB / 0.5176 GB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.4453, allocations: 4.875 kB / 0.5176 GB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.4461, allocations: 0.5607 MB / 0.5182 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.4463, allocations: 96.69 kB / 0.5183 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.811e-05/0.4463, allocations: 46.08 kB / 0.5183 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.4464, allocations: 1.344 kB / 0.5183 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.4464, allocations: 44.59 kB / 0.5183 GB, free: 8.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.4464, allocations: 0 / 0.5183 GB, free: 8.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003684/0.4468, allocations: 141.1 kB / 0.5185 GB, free: 8.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.4468, allocations: 84.66 kB / 0.5186 GB, free: 8.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.4469, allocations: 120.7 kB / 0.5187 GB, free: 8.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.4469, allocations: 27.8 kB / 0.5187 GB, free: 8.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.447, allocations: 123.2 kB / 0.5188 GB, free: 8.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.447, allocations: 52.91 kB / 0.5189 GB, free: 8.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.447, allocations: 1.625 kB / 0.5189 GB, free: 8.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.4471, allocations: 322 kB / 0.5192 GB, free: 8.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.4472, allocations: 35.52 kB / 0.5192 GB, free: 8.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.4473, allocations: 101.7 kB / 0.5193 GB, free: 8.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.455e-05/0.4474, allocations: 51.64 kB / 0.5194 GB, free: 8.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4474, allocations: 0 / 0.5194 GB, free: 8.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003367/0.4477, allocations: 188.2 kB / 0.5195 GB, free: 7.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4477, allocations: 10.38 kB / 0.5195 GB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4477, allocations: 6.094 kB / 0.5196 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.4479, allocations: 45.86 kB / 0.5196 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.4481, allocations: 37.16 kB / 0.5196 GB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.4497, allocations: 2.598 MB / 0.5222 GB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.4498, allocations: 15.88 kB / 0.5222 GB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4498, allocations: 6.875 kB / 0.5222 GB, free: 5.43 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 (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/0.4499, allocations: 115.8 kB / 0.5223 GB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.4499, allocations: 10.11 kB / 0.5223 GB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.45, allocations: 14.16 kB / 0.5223 GB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.45, allocations: 6.688 kB / 0.5223 GB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.45, allocations: 5.938 kB / 0.5223 GB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.45, allocations: 0.75 kB / 0.5223 GB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.4503, allocations: 194 kB / 0.5225 GB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4503, allocations: 5.219 kB / 0.5225 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.4504, allocations: 26.14 kB / 0.5225 GB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.4506, allocations: 51.38 kB / 0.5226 GB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4506, allocations: 1.062 kB / 0.5226 GB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.4521, allocations: 2.592 MB / 0.5251 GB, free: 18.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4521, allocations: 7.844 kB / 0.5251 GB, free: 18.62 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000388/0.4525, allocations: 353.6 kB / 0.5255 GB, free: 18.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.4526, allocations: 96.92 kB / 0.5256 GB, free: 18.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.4526, allocations: 2.844 kB / 0.5256 GB, free: 18.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.4527, allocations: 0 / 0.5256 GB, free: 18.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.4528, allocations: 10.81 kB / 0.5256 GB, free: 18.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4528, allocations: 3.797 kB / 0.5256 GB, free: 18.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.624e-05/0.4528, allocations: 98.7 kB / 0.5257 GB, free: 18.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004519/0.4533, allocations: 50.33 kB / 0.5257 GB, free: 18.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.4535, allocations: 105.9 kB / 0.5258 GB, free: 18.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.4539, allocations: 307.9 kB / 0.5261 GB, free: 17.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4539, allocations: 0 / 0.5261 GB, free: 17.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.4542, allocations: 255.1 kB / 0.5264 GB, free: 17.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.4546, allocations: 25.3 kB / 0.5264 GB, free: 17.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.4555, allocations: 0.5342 MB / 0.5269 GB, free: 17.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.4559, allocations: 0.743 MB / 0.5276 GB, free: 16.59 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4559, allocations: 4 kB / 0.5276 GB, free: 16.59 MB / 362.7 MB Notification: Performance of Templates: time 0.00467/0.4606, allocations: 1.86 MB / 0.5295 GB, free: 15.82 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)