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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009541/0.000954, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.311/1.311, allocations: 170.7 MB / 178.7 MB, free: 15.66 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.00155/0.00155, allocations: 107.5 kB / 218 MB, free: 8.41 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.1965/0.1965, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.258e-05/1.259e-05, allocations: 1.344 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.507, allocations: 72.95 MB / 471.7 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5073, allocations: 63 kB / 471.7 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006716/0.5141, allocations: 2.521 MB / 474.3 MB, free: 17.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5141, allocations: 1.188 kB / 474.3 MB, free: 17.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.5141, allocations: 3.156 kB / 474.3 MB, free: 17.38 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.0005282/0.5147, allocations: 406.9 kB / 474.7 MB, free: 17.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.982e-05/0.5147, allocations: 10.62 kB / 474.7 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.5148, allocations: 16.88 kB / 474.7 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.515, allocations: 180.2 kB / 474.9 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.515, allocations: 13.42 kB / 474.9 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.5151, allocations: 16.56 kB / 474.9 MB, free: 16.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002343/0.5153, allocations: 73.42 kB / 475 MB, free: 16.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.5156, allocations: 138.1 kB / 475.1 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5156, allocations: 9.031 kB / 475.1 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.5157, allocations: 3.938 kB / 475.1 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.5157, allocations: 4.125 kB / 475.1 MB, free: 16.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.5167, allocations: 0.567 MB / 475.7 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.517, allocations: 123.7 kB / 475.8 MB, free: 16.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.5171, allocations: 42.42 kB / 475.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.5171, allocations: 2.344 kB / 475.8 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.5171, allocations: 39.52 kB / 475.9 MB, free: 16.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.5171, allocations: 0 / 475.9 MB, free: 16.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005768/0.5177, allocations: 145 kB / 476 MB, free: 16.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.5178, allocations: 79.06 kB / 476.1 MB, free: 16.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.5179, allocations: 120.1 kB / 476.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.5179, allocations: 27.11 kB / 476.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5181, allocations: 132.9 kB / 476.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.5181, allocations: 53.83 kB / 476.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.5182, allocations: 0 / 476.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5183, allocations: 325.1 kB / 476.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/0.5184, allocations: 32.22 kB / 476.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.5185, allocations: 93.8 kB / 476.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.5186, allocations: 47.11 kB / 476.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5186, allocations: 1.094 kB / 476.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003884/0.519, allocations: 197.2 kB / 477.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5191, allocations: 6.031 kB / 477.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.5191, allocations: 6.828 kB / 477.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.5194, allocations: 49.69 kB / 477.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.5195, allocations: 36.41 kB / 477.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.5215, allocations: 2.603 MB / 479.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.5216, allocations: 16.59 kB / 479.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.5217, allocations: 11.59 kB / 479.8 MB, free: 12.8 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 0.000112/0.5218, allocations: 116.1 kB / 479.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.5219, allocations: 13.59 kB / 480 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.5219, allocations: 10.62 kB / 480 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5219, allocations: 3.016 kB / 480 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.522, allocations: 1.156 kB / 480 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.522, allocations: 1.828 kB / 480 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.5223, allocations: 198.2 kB / 480.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5223, allocations: 0 / 480.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.5224, allocations: 29.52 kB / 480.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.5226, allocations: 49.83 kB / 480.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.5226, allocations: 7.469 kB / 480.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.5253, allocations: 2.603 MB / 482.9 MB, free: 26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5254, allocations: 5.5 kB / 482.9 MB, free: 26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.5259, allocations: 365 kB / 483.2 MB, free: 25.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.526, allocations: 85.88 kB / 483.3 MB, free: 25.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.526, allocations: 1.344 kB / 483.3 MB, free: 25.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5261, allocations: 5.406 kB / 483.3 MB, free: 25.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.5262, allocations: 9.484 kB / 483.3 MB, free: 25.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.5262, allocations: 6.281 kB / 483.3 MB, free: 25.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.141e-05/0.5263, allocations: 97.81 kB / 483.4 MB, free: 25.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5263, allocations: 0 / 483.4 MB, free: 25.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004999/0.5268, allocations: 55.06 kB / 483.5 MB, free: 25.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.0001725/0.527, allocations: 106.6 kB / 483.6 MB, free: 25.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.5275, allocations: 312.8 kB / 483.9 MB, free: 25.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5275, allocations: 0 / 483.9 MB, free: 25.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.5279, allocations: 268.5 kB / 484.1 MB, free: 25.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.5283, allocations: 32.12 kB / 484.2 MB, free: 25.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008816/0.5292, allocations: 0.5586 MB / 484.7 MB, free: 24.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.5295, allocations: 0.7283 MB / 485.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.5296, allocations: 13.3 kB / 485.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.5296, allocations: 13.28 kB / 485.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5296, allocations: 0 / 485.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of Templates: time 0.004873/0.5345, allocations: 1.697 MB / 487.2 MB, free: 23.77 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)