Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003338/0.003338, allocations: 174.8 kB / 7.451 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.288/1.288, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001846/0.001846, allocations: 105 kB / 217.7 MB, free: 8.141 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.1904/0.1904, allocations: 37.97 MB / 294.8 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.606e-06, allocations: 0 / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 48.71 MB / 398.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/0.4565, allocations: 72.88 MB / 471.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.4568, allocations: 65.25 kB / 471.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005779/0.4626, allocations: 2.211 MB / 473.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4626, allocations: 3.188 kB / 473.4 MB, free: 13.37 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003932/0.463, allocations: 415.6 kB / 473.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4631, allocations: 7.594 kB / 473.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.4631, allocations: 19.56 kB / 473.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4633, allocations: 180.6 kB / 474 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4633, allocations: 7.469 kB / 474 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.4633, allocations: 11.2 kB / 474 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001551/0.4635, allocations: 78.27 kB / 474.1 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.4637, allocations: 141.2 kB / 474.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4637, allocations: 7.844 kB / 474.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4637, allocations: 1.25 kB / 474.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4638, allocations: 6.375 kB / 474.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.4644, allocations: 0.5703 MB / 474.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4646, allocations: 94.92 kB / 474.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.4646, allocations: 49.41 kB / 474.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.4647, allocations: 0 / 474.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.4647, allocations: 41.11 kB / 475 MB, free: 12.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.4647, allocations: 3.984 kB / 475 MB, free: 12.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003553/0.4651, allocations: 132.4 kB / 475.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.4651, allocations: 85.86 kB / 475.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/0.4652, allocations: 120.9 kB / 475.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.4652, allocations: 25.7 kB / 475.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.4652, allocations: 125.1 kB / 475.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.4653, allocations: 55.83 kB / 475.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.4653, allocations: 0 / 475.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.4653, allocations: 324.5 kB / 475.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.4654, allocations: 32.25 kB / 475.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.4655, allocations: 102.2 kB / 476 MB, free: 11.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.4656, allocations: 48.3 kB / 476 MB, free: 11.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4656, allocations: 3.938 kB / 476 MB, free: 11.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002821/0.4659, allocations: 194 kB / 476.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4659, allocations: 4.125 kB / 476.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4659, allocations: 7.75 kB / 476.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.4662, allocations: 46.05 kB / 476.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4663, allocations: 34.42 kB / 476.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.4678, allocations: 2.607 MB / 478.9 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.4679, allocations: 11.81 kB / 478.9 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.468, allocations: 7.75 kB / 478.9 MB, free: 8.785 MB / 330.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.404e-05/0.468, allocations: 104.1 kB / 479 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.4681, allocations: 19.56 kB / 479 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.4681, allocations: 14.88 kB / 479 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4681, allocations: 0 / 479 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4681, allocations: 0 / 479 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4682, allocations: 11.28 kB / 479.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.4684, allocations: 187.9 kB / 479.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4684, allocations: 3.938 kB / 479.2 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.4686, allocations: 26.89 kB / 479.3 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.4687, allocations: 51.02 kB / 479.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4687, allocations: 0 / 479.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.4703, allocations: 2.598 MB / 481.9 MB, free: 21.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4703, allocations: 0 / 481.9 MB, free: 21.99 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003185/0.4706, allocations: 357.7 kB / 482.3 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.4707, allocations: 92.83 kB / 482.4 MB, free: 21.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.4707, allocations: 4 kB / 482.4 MB, free: 21.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4708, allocations: 0 / 482.4 MB, free: 21.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.4709, allocations: 10.73 kB / 482.4 MB, free: 21.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.4709, allocations: 3.875 kB / 482.4 MB, free: 21.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.227e-05/0.4709, allocations: 94 kB / 482.5 MB, free: 21.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004958/0.4714, allocations: 50.81 kB / 482.5 MB, free: 21.55 MB / 346.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.0001397/0.4716, allocations: 102.8 kB / 482.6 MB, free: 21.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004312/0.472, allocations: 307.9 kB / 482.9 MB, free: 21.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.472, allocations: 0 / 482.9 MB, free: 21.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.4723, allocations: 259.2 kB / 483.2 MB, free: 21.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.4726, allocations: 31.14 kB / 483.2 MB, free: 21.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.4734, allocations: 0.5171 MB / 483.7 MB, free: 20.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.4737, allocations: 0.7351 MB / 484.5 MB, free: 19.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4737, allocations: 4 kB / 484.5 MB, free: 19.96 MB / 346.7 MB Notification: Performance of Templates: time 0.004123/0.4778, allocations: 1.874 MB / 486.3 MB, free: 19.79 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)