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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001596/0.001595, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.849/1.849, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001773/0.001773, allocations: 109.1 kB / 252.6 MB, free: 4.797 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.239/0.239, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.336e-05/5.379e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1229, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.488/0.6109, allocations: 79.99 MB / 0.5226 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.6112, allocations: 63.31 kB / 0.5227 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005787/0.617, allocations: 2.544 MB / 0.5251 GB, free: 8.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6171, allocations: 0 / 0.5251 GB, free: 8.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.6171, allocations: 7.938 kB / 0.5251 GB, free: 8.605 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.0003888/0.6175, allocations: 408.5 kB / 0.5255 GB, free: 8.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.6176, allocations: 8.031 kB / 0.5255 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.6176, allocations: 27.67 kB / 0.5256 GB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.6177, allocations: 181.7 kB / 0.5257 GB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.6178, allocations: 15.33 kB / 0.5258 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.6178, allocations: 17.31 kB / 0.5258 GB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.6181, allocations: 161.7 kB / 0.5259 GB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.6181, allocations: 3.906 kB / 0.5259 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.6181, allocations: 11.38 kB / 0.5259 GB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.6181, allocations: 4 kB / 0.5259 GB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.6183, allocations: 87.38 kB / 0.526 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/0.619, allocations: 0.6116 MB / 0.5266 GB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.6192, allocations: 125.9 kB / 0.5267 GB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.974e-05/0.6193, allocations: 48.97 kB / 0.5268 GB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.6193, allocations: 7.984 kB / 0.5268 GB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.6193, allocations: 34.5 kB / 0.5268 GB, free: 6.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.6193, allocations: 0 / 0.5268 GB, free: 6.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003644/0.6197, allocations: 153 kB / 0.527 GB, free: 6.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.6198, allocations: 77.11 kB / 0.527 GB, free: 6.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.6199, allocations: 124.6 kB / 0.5272 GB, free: 6.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.6199, allocations: 28.98 kB / 0.5272 GB, free: 6.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.6199, allocations: 130.2 kB / 0.5273 GB, free: 6.398 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.62, allocations: 61.44 kB / 0.5274 GB, free: 6.348 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.62, allocations: 3.438 kB / 0.5274 GB, free: 6.348 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.67e-05/0.6201, allocations: 326.3 kB / 0.5277 GB, free: 6.023 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.6201, allocations: 41.36 kB / 0.5277 GB, free: 5.996 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.6202, allocations: 106.9 kB / 0.5278 GB, free: 5.879 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.6203, allocations: 60.91 kB / 0.5279 GB, free: 5.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6203, allocations: 0 / 0.5279 GB, free: 5.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002815/0.6206, allocations: 206.1 kB / 0.5281 GB, free: 5.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6206, allocations: 12.25 kB / 0.5281 GB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6206, allocations: 3.953 kB / 0.5281 GB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.6209, allocations: 51.58 kB / 0.5282 GB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.621, allocations: 35.92 kB / 0.5282 GB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.6225, allocations: 2.713 MB / 0.5308 GB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.6225, allocations: 15.75 kB / 0.5309 GB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.6226, allocations: 8 kB / 0.5309 GB, free: 2.68 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 8.208e-05/0.6227, allocations: 119.7 kB / 0.531 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.6227, allocations: 11.81 kB / 0.531 GB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.6228, allocations: 24.02 kB / 0.531 GB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6228, allocations: 4 kB / 0.531 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6228, allocations: 0 / 0.531 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.6228, allocations: 4.141 kB / 0.531 GB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.623, allocations: 240.6 kB / 0.5312 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.623, allocations: 0 / 0.5312 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.6232, allocations: 23.98 kB / 0.5313 GB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.6233, allocations: 52.31 kB / 0.5313 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6233, allocations: 4 kB / 0.5313 GB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6249, allocations: 2.7 MB / 0.534 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6249, allocations: 3.938 kB / 0.534 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.6254, allocations: 394.5 kB / 0.5343 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.6254, allocations: 85.02 kB / 0.5344 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.6255, allocations: 4 kB / 0.5344 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.6256, allocations: 7 kB / 0.5344 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.6256, allocations: 14.92 kB / 0.5344 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.6256, allocations: 4.125 kB / 0.5344 GB, free: 14.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.6257, allocations: 98.59 kB / 0.5345 GB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6257, allocations: 0 / 0.5345 GB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004095/0.6261, allocations: 57.66 kB / 0.5346 GB, free: 14.71 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.0001457/0.6263, allocations: 98.31 kB / 0.5347 GB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005006/0.6268, allocations: 351 kB / 0.535 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6268, allocations: 0 / 0.535 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.6271, allocations: 279.6 kB / 0.5353 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.6274, allocations: 36.89 kB / 0.5353 GB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.6283, allocations: 0.5657 MB / 0.5359 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.6286, allocations: 0.7282 MB / 0.5366 GB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.712e-05/0.6287, allocations: 13.2 kB / 0.5366 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.6287, allocations: 15.44 kB / 0.5366 GB, free: 12.62 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6287, allocations: 3.938 kB / 0.5366 GB, free: 12.62 MB / 362.7 MB Notification: Performance of Templates: time 0.004485/0.6332, allocations: 1.774 MB / 0.5384 GB, free: 10.87 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)