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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001516, allocations: 194.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3167/0.3167, allocations: 37.97 MB / 307.4 MB, free: 10.16 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 62.62 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1248, allocations: 56.47 MB / 431.2 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003136/0.128, allocations: 1.906 MB / 433.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.1283, allocations: 155.4 kB / 433.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.1284, allocations: 4 kB / 433.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.772e-05/0.1285, allocations: 15.84 kB / 433.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1286, allocations: 43.67 kB / 433.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.1287, allocations: 31.92 kB / 433.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.129, allocations: 183.1 kB / 433.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1292, allocations: 53.5 kB / 433.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1293, allocations: 79.72 kB / 433.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1294, allocations: 71.69 kB / 433.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1295, allocations: 12 kB / 433.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.008e-05/0.1295, allocations: 16 kB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.1295, allocations: 31.86 kB / 433.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.1296, allocations: 87.61 kB / 433.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1298, allocations: 183.6 kB / 434.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1299, allocations: 0 / 434.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1299, allocations: 0 / 434.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1299, allocations: 0 / 434.1 MB, free: 4.113 MB / 366.1 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.0006051/0.1305, allocations: 455.3 kB / 434.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1305, allocations: 11.89 kB / 434.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1306, allocations: 16.75 kB / 434.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1308, allocations: 208 kB / 434.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1308, allocations: 20.64 kB / 434.8 MB, free: 3.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.1309, allocations: 20.28 kB / 434.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.1312, allocations: 166.1 kB / 434.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1312, allocations: 8.188 kB / 434.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.1312, allocations: 7.938 kB / 434.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1312, allocations: 4 kB / 435 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1314, allocations: 99.81 kB / 435.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.1323, allocations: 0.6072 MB / 435.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1325, allocations: 129.2 kB / 435.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.1326, allocations: 49.89 kB / 435.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.1327, allocations: 11.94 kB / 435.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1327, allocations: 34.56 kB / 435.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.031e-06/0.1327, allocations: 0 / 435.9 MB, free: 2.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009965/0.1337, allocations: 385.2 kB / 436.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.1338, allocations: 77.11 kB / 436.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.134, allocations: 134 kB / 436.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.134, allocations: 29.7 kB / 436.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1341, allocations: 120.1 kB / 436.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.1342, allocations: 63.17 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.1343, allocations: 41.72 kB / 436.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1345, allocations: 322.8 kB / 437 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.1345, allocations: 35.98 kB / 437.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1347, allocations: 108.4 kB / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1349, allocations: 156.5 kB / 437.3 MB, free: 500 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1349, allocations: 4 kB / 437.3 MB, free: 496 kB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003956/0.1353, allocations: 222.8 kB / 437.5 MB, free: 260 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1354, allocations: 4 kB / 437.5 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1354, allocations: 4.25 kB / 437.5 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/0.1357, allocations: 53.92 kB / 437.6 MB, free: 192 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1359, allocations: 39.92 kB / 437.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.1388, allocations: 2.986 MB / 440.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1389, allocations: 12.03 kB / 440.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.139, allocations: 16 kB / 440.7 MB, free: 12.85 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.1391, allocations: 125.8 kB / 440.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.1392, allocations: 11.91 kB / 440.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.1393, allocations: 28.66 kB / 440.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1393, allocations: 7.984 kB / 440.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.1393, allocations: 0 / 440.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.1393, allocations: 0 / 440.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.1397, allocations: 233.5 kB / 441.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1397, allocations: 3.938 kB / 441.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1398, allocations: 31.98 kB / 441.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.14, allocations: 45.69 kB / 441.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.14, allocations: 3.938 kB / 441.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.1419, allocations: 2.99 MB / 444.1 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1419, allocations: 4.031 kB / 444.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.1423, allocations: 368.3 kB / 444.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.1424, allocations: 92.94 kB / 444.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1424, allocations: 4.062 kB / 444.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1425, allocations: 12 kB / 444.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.1426, allocations: 7.984 kB / 444.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1426, allocations: 7.938 kB / 444.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.1426, allocations: 103.8 kB / 444.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1427, allocations: 0 / 444.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004894/0.1432, allocations: 51.91 kB / 444.8 MB, free: 8.355 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.1433, allocations: 111.2 kB / 444.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000696/0.144, allocations: 353.2 kB / 445.2 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.144, allocations: 0 / 445.2 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.1444, allocations: 289.7 kB / 445.5 MB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.1449, allocations: 32.34 kB / 445.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.1459, allocations: 0.6982 MB / 446.2 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1462, allocations: 0.7242 MB / 447 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.1463, allocations: 9.375 kB / 447 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.1463, allocations: 15.44 kB / 447 MB, free: 6.023 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1463, allocations: 0 / 447 MB, free: 6.023 MB / 382.1 MB Notification: Performance of Templates: time 0.004857/0.1512, allocations: 1.94 MB / 448.9 MB, free: 4.082 MB / 382.1 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)